FreeDev Tools

XOR Cipher

Encrypt and decrypt text using XOR cipher with a key. XOR is symmetric — the same operation encrypts and decrypts.

Frequently Asked Questions

Each byte of the plaintext is XORed with the corresponding byte of the key. If the key is shorter than the message, it repeats. XOR of the same byte twice returns the original.