Encryption Observer

Glossary A short history

The Caesar cipher

A Caesar cipher replaces each letter with one a fixed number of places further along the alphabet. With a shift of three, A becomes D and B becomes E. It is named after Julius Caesar, who is said to have used it for military messages.

Think of it like this

Two alphabet wheels, one inside the other, turned three notches apart.

Why it matters

It shows the basic idea of a cipher and a key (the shift) in a way anyone can try with a pencil. It also shows why small keys fail: there are only 25 possible shifts, so you can simply try them all.

Where you meet it

Puzzle books, children's spy kits, and ROT13 on old internet forums, which hides spoilers by shifting 13 places.

PlainABCDEFGHIJKLCodedDEFGHIJKLMNOHELLO becomes KHOOR with a shift of 3
Each letter moves three places along the alphabet. There are only 25 possible shifts, so anyone can try them all.

More diagrams: Ciphers through history

Go deeper history and technical detail

The Roman historian Suetonius described Caesar using a shift of three. Any simple substitution, even with a scrambled alphabet, falls to frequency analysis: in English, E is the most common letter, so the most common symbol in a long message probably stands for E. The Arab scholar al-Kindi described this method in the 9th century.

Read or watch next

Related terms

Cite this page Encryption Observer, “The Caesar cipher”, encryption.observer/terms/caesar-cipher/, checked December 2026.