Free Online Encryption & Decryption
The Caesar cipher is one of the simplest and most widely known encryption techniques. It is a type of substitution cipher where each letter in the plaintext is shifted by a fixed number of positions down or up the alphabet.
Named after Julius Caesar, who used it to protect messages of military significance. Caesar used a shift of 3 positions, so 'A' became 'D', 'B' became 'E', and so on.
The cipher works by:
Shift: 3
Plaintext: HELLO WORLD
Ciphertext: KHOOR ZRUOG
The Caesar cipher is very easy to break because there are only 25 possible shifts. An attacker can simply try all possibilities (brute force attack) or use frequency analysis - the most common letter in English text is 'E', so finding the most frequent letter in the ciphertext helps identify the shift.
ROT13 is a special case of Caesar cipher with a shift of 13. It's interesting because applying ROT13 twice returns the original text (since 13 + 13 = 26, a complete rotation).
While not secure for modern use, the Caesar cipher is excellent for learning basic cryptography concepts: