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