What is XOR masking??

Started by
3 comments, last by Red Ant 22 years, 5 months ago
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!
Advertisement
Well, this is how i THINK it is:

for(int i=0; i{output=input^codenumber<br>}<br> </pre> <br><br>pretty simple.<br>Use the same to decrypt.  </i>   
Sorry about that

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

And the same for decrypt.
=======================Game project(s):www.fiend.cjb.net
Hmm, makes sense. Thanks a bunch, Jonatan!
Np
=======================Game project(s):www.fiend.cjb.net

This topic is closed to new replies.

Advertisement