XOR
Exclusive OR
A bitwise operation fundamental to many ciphers.
XOR is a bitwise operation that outputs one only when its two input bits differ, and it is foundational to symmetric cryptography because applying the same key twice returns the original data. Stream ciphers and the one-time pad rely on combining plaintext with a keystream using XOR. Its strength depends entirely on the key: a truly random key as long as the message is unbreakable, but reusing a short or predictable key makes the ciphertext trivial to recover.
The on/off toggle behind stream ciphers: XOR with the key, XOR again to undo.
Looking XOR up is step one. Getting tested on it is step two.
A free account opens all 4 Domain 1 objectives, 271 exam-style questions with a lesson and a lab on each, a placement check that skips what you already know, and a dated plan. No card.
Not affiliated with or endorsed by CompTIA.
