The Great Cipher of Louis XIV
Louis XIV’s code, which stayed unreadable for two centuries

Public domain — Wikimedia Commons
In brief
Antoine Rossignol and his son Bonaventure, Louis XIV’s cryptographers, created a cipher so strong that after their deaths nobody could read it. It was not until 1893 that a French officer, Étienne Bazeries, finally broke the “Great Cipher”.
The story
Antoine Rossignol made his name in 1628 by deciphering letters from the Protestants besieged in Réalmont, which allowed the town to be taken. Richelieu, then Louis XIV, employed him to decode intercepted letters and encrypt their own. With his son, he invented the Great Cipher: about 600 numbers standing not for letters but for syllables, with traps, such as numbers that cancel the one before.
After the Rossignols died, the method was lost, and letters from Louis XIV’s reign stayed unreadable. At the end of the 19th century, Commandant Étienne Bazeries worked on it for three years. He guessed that the group 124-22-125-46-345 meant “les ennemis” (the enemies) and, step by step, rebuilt the whole system. He uncovered letters about the Nine Years’ War.
Example
124 – 22 – 125 – 46 – 345 = “les en-ne-mi-s”: each number is a syllable or a letter.
Did you know?
Bazeries thought he had found in one of these letters the identity of the mysterious “Man in the Iron Mask”. Historians now think he was wrong.
Sources: D. Kahn, The Codebreakers, 1967 (rev. ed. 1996); S. Singh, The Code Book, 1999; F. L. Bauer, Decrypted Secrets, 4th ed., 2007; C. P. Bauer, Secret History: The Story of Cryptology, 2nd ed., 2021; texts written for this site.
The Polybius square
The Caesar cipher
Trithemius’s tabula recta
Mary, Queen of Scots’ cipher letters
The Vigenère cipher
The Playfair cipher