Two thousand years ago, a rider carried a letter across enemy territory, knowing that if he was caught, the letter would be read, the plan would die, and so would he.
Julius Caesar had a fix for that. He assumed his letters would be caught. So he wrote them in a way that made reading them useless.
The trick was almost embarrassingly simple. When Caesar had something confidential to say, he wrote each letter as the letter three places further down the alphabet. A became D. B became E. The Roman writer Suetonius, who read Caesar's private letters, tells us exactly how it worked: to read one, you substitute the fourth letter of the alphabet, D, for A, and so on.
So "ATTACK AT DAWN" became "DWWDFN DW GDZQ".
To an enemy who intercepted it, the message looked like gibberish in an unknown language. Most people in the ancient world could barely read their own language, let alone spot a pattern in a scrambled one. The letter could be captured, copied, and passed around a war council, and still keep its secret.
That is the part that still feels modern. Caesar did not hide the message. He hid the meaning. The letter traveled in plain sight, and its safety came from the fact that looking at it gave you nothing.
It worked because nobody expected it. The idea that a message could be disguised by a rule, and cracked by finding the rule, had not entered the world yet.
It took about eight hundred years for someone to publish the countermove. In ninth-century Baghdad, the scholar Al-Kindi wrote "A Manuscript on Deciphering Cryptographic Messages", the oldest known book on codebreaking. His insight: in any language, some letters appear more often than others. Count the letters in a scrambled message, match the most common one to the most common letter of the language, and the pattern starts to unravel. Frequency analysis - the same basic idea behind codebreaking to this day - was born.
Once you know that trick, Caesar's cipher folds in minutes. There are only 25 possible shifts. You can try them all by hand.
And yet the idea never really died. Every time you send a message and the app scrambles it on the way, you are using Caesar's idea: assume someone is watching, and make watching worthless. The math is far harder now, but the shape of the trick is the same one a Roman general used two millennia ago.
His enemies caught his letters. They just never got to read them.
Watch this story in one minute:
More short animated stories on our channel, Aha Lantern on YouTube. New stories every week.
Follow us on Instagram and TikTok, or visit our site. Short stories. Big aha moments.
Top comments (0)