Secret codes
10 profiles

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.