So, I'm writing a new encryption algorithm to encrypt text by creating a number from text (password) the user gives it.
So, there are three parts:
identification, equation, and modulation. I identifies each character to a number, applies an equation to it, and finally modulates it, giving us a new character "id".
I uploaded the entire program to pastebin. I would like you to download it, and compile it at least once before posting with an answer (unless you do this for a living).
I can't seem to figure it out...
Thank you for your time!
Notes: When you choose 'encrypt'/'decrypt' on the menu, you will be prompted. This is the password.
Choosing the 'clear data' option will reset all data to default, giving you a fresh start for encrypting. This is because the data is kept, so that you can choose to have it displayed, etc... for debugging purposes.
In the end, it will be a nice and neat header/.cpp file combo i can easily add to any program.
*********************************************************
LINKS:
http://pastebin.com/r2QnB9Nw
http://pastebin.com/1jeC1xvU
http://pastebin.com/B5PQquxB
http://pastebin.com/5QMKw95F
http://pastebin.com/h1wVgqwK
THESE EXPIRE IN 1 DAY. (12/01/2012 at approximately 12:15pm PST)