Caesar cipher · 01 History

Caesar cipher: the history

Suetonius, Julius Caesar, Augustus and letters written in Greek characters: what we really know about Roman ciphers.

The main source is Suetonius, who in the Lives of the Caesars (early 2nd century AD) writes that when Julius Caesar had something confidential to communicate he wrote so that no one could understand the words, replacing letters by the rule “the fourth letter of the alphabet, that is D, for A”, and so on for all the others.

  1. During the Gallic War, Caesar relates in his Commentaries that he sent the besieged Quintus Cicero a letter written in Greek characters so that it could not be read if intercepted.

  2. According to Suetonius, Caesar uses the three-letter shift for confidential correspondence.

  3. Suetonius reports that Augustus used a shift of a single letter, writing B for A, and a double A for X.

  4. Al-Kindi describes frequency analysis, the technique that makes every cipher of this kind vulnerable.

  5. ROT13 spreads on Usenet forums: a 13-letter shift used to hide spoilers and jokes, not to protect secrets.

An alphabet different from ours

The Latin alphabet of Caesar’s time had 23 letters: J, U and W were missing, and I and V served as both vowels and consonants. The principle, however, was the same we use in examples with the modern 26-letter alphabet.

Why it worked

Today the Caesar cipher breaks in seconds, but in the Roman world it was reasonable protection: most people could not read, and whoever intercepted an incomprehensible message might think of a foreign language rather than a code. Its strength lay in the secrecy of the method, an idea modern cryptography has abandoned: today we assume the enemy knows the algorithm.

Continue with
02 How it works

Caesar cipher: how it works

Two alphabets side by side, one shifted: the mechanism of encryption and decryption step by step.

↑