Let's say I have this code block right here:
That encrypts my ch. Now would this decrypt my ch (back to normal)?Code:ch = ch ^ Password; // Encrypting...
Because I was having trouble writing a program that takes a file and a key and then encrypts it, and then when the user specifies, decrypts it. It would encrypt the file, but never decrypt it.Code:ch = Password ^ ch; // Decrypting...
Thanks a bunch. :)