• Advertisement

Archived

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

What is XOR masking??

This topic is 5920 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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 this post


Link to post
Share on other sites
Advertisement
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 this post


Link to post
Share on other sites

  • Advertisement