XORenc Basic encryption using XOR Using XOR operations you can encrypt and decrypt data. The key is the same for both operations. How XOR works ------------- XOR stands for "exclusive or", which is basically an or but without the AND. The truth table for XOR is: | A | B | A XOR B | |---|---|---------| | 0 | 0 | 0 | | 0 | 1 | 1 | | 1 | 0 | 1 | | 1 | 1 | 0 |