XOR in Cryptography
This example uses XOR and the same "secret key" to encrypt and decrypt. In practice, XOR is not used quite as simply as this. It is used in combination with different techniques and other ciphers to provide the complete encryption algorithm.
Learn more about XOR