How The XOR Operation Works and How to Use it In C to Create a Small Encryptor
Posted by Spyros in C/C++ Programming, Cryptography, tags: code small encryptor, exclusive or, how to use xor, simple xor encryption, xor encryptor in c, xor operation
Exclusive OR (xor) is probably one of the most used operations in today’s encryption schemes. If you’re into creating some kind of encryption in your programs, you would need to utilize XOR operations, as XOR is a pretty versatile “tool” that you should use. If you care to know, XOR is actually an exclusive OR operation. While a simple OR is something like ‘x + y’, exclusive OR is the operation xy’ + x’y. In case you’re not familiar with the mathematic language, + stands for the operation OR, xy is sort for x AND y, while x’ is the NOT equivalent of x.


Entries (RSS)