I read the tutorial on this site about xor encryption, and I understand it, but I am having trouble encrypting a file, instead of a string. The tutorial is http://www.cprogramming.com/tutorial/xor.html
Printable View
I read the tutorial on this site about xor encryption, and I understand it, but I am having trouble encrypting a file, instead of a string. The tutorial is http://www.cprogramming.com/tutorial/xor.html
But where is your code that you have so far?
Read file into a string, then encrypt that string perhaps?