Secret codes

The Vigenère cipher

Date: 1586Place: Paris (France)Who?: Giovan Battista Bellaso, then Blaise de Vigenère

A keyword that changes the shift for every letter: “the indecipherable cipher”

Substitution ciphers
Blaise de Vigenère
Blaise de Vigenère — an old engraving
Thomas de Leu — Public domain — Wikimedia Commons

In brief

The Vigenère cipher shifts each letter of the message by an amount given by the letters of a keyword, repeated all along the text. Described by the Italian Bellaso in 1553 and made famous under the name of the Frenchman Blaise de Vigenère, it held out for nearly three centuries.

The story

Giovan Battista Bellaso published the keyword method in 1553. Blaise de Vigenère, a French diplomat, described in his 1586 “Traicté des chiffres” an even stronger version, in which the message itself extends the key. In the 19th century the simple method was wrongly credited to Vigenère, and the name stuck. Because the same letter is encrypted in different ways, frequency analysis no longer works directly.

It was nicknamed “le chiffre indéchiffrable”, the indecipherable cipher. Yet around 1854 the Englishman Charles Babbage found how to break it, without publishing; the Prussian officer Friedrich Kasiski published the method in 1863. The idea: spot groups of letters that repeat to guess the length of the key, then treat each position as a Caesar cipher.

Example

Key MOON: HELLO → TSZYA

Try it in the workshop

Did you know?

If the key is as long as the message, made of randomly drawn letters and never reused, the Vigenère cipher becomes truly unbreakable: that is the one-time pad.

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.

In the same family: Substitution ciphers