Encryption Algorithm: Can't seem to figure it out

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.


THESE EXPIRE IN 1 DAY. (12/01/2012 at approximately 12:15pm PST)
Last edited on
nevermind, I figured it out.
Topic archived. No new replies allowed.