Substitution ciphers
Replacing each letter with another letter, a number or a symbol
In a substitution cipher, each letter of the message is replaced by another letter, a number or a drawing. The Caesar cipher shifts the alphabet, atbash turns it round, the pigpen cipher turns it into little boxes.
When a letter is always replaced by the same sign, frequency analysis is enough to break the code. Cryptographers therefore invented defences: changing alphabet with every letter like Vigenère, encrypting letters in pairs like Playfair, or using syllables like the Great Cipher.
Profiles
Atbash
The alphabet turned inside out: A becomes Z, B becomes Y
c. 150 BCSubstitution ciphersThe Polybius square
The alphabet arranged in a 5 by 5 grid: each letter becomes two numbers
c. 50 BCSubstitution ciphersThe Caesar cipher
Shifting the alphabet by three letters: the most famous cipher in history
1508Substitution ciphersTrithemius’s tabula recta
A German abbot, a table of 26 alphabets and the first printed book on ciphers
1586Substitution ciphersThe Vigenère cipher
A keyword that changes the shift for every letter: “the indecipherable cipher”
1586Substitution ciphersMary, Queen of Scots’ cipher letters
Cipher letters hidden in beer barrels… and decoded by the enemy
c. 1660Substitution ciphersThe Great Cipher of Louis XIV
Louis XIV’s code, which stayed unreadable for two centuries
c. 1745Substitution ciphersThe pigpen cipher
Letters replaced by little boxes and dots
1854Substitution ciphersThe Playfair cipher
Encrypting letters two at a time in a 25-cell square
1929Substitution ciphersThe Hill cipher
When mathematics entered the code factory