Archived

This topic is now archived and is closed to further replies.

Recommended Posts

Red Ant    471
Could someone please give me a brief explanation as to how I can use XOR making to encrypt a file. What would I have to do if for example I wanted to encrypt an array like this one: array[0] = 1564 array[1] = 45 array[2] = 876 Thanks in advance!

Share on other sites
Guest Anonymous Poster
Well, this is how i THINK it is:

for(int i=0; i{output=input[i]^codenumber}

pretty simple.
Use the same to decrypt.

Share on other sites

Anyway, it''s
"output=input^keyword"

And the same for decrypt.

Share on other sites
Red Ant    471
Hmm, makes sense. Thanks a bunch, Jonatan!

Np