History of ciphers · Overview

The Vigenère cipher: three centuries as the “indecipherable cipher”

How the Vigenère cipher works — actually devised by the Italian Giovan Battista Bellaso: the table, the keyword, a step-by-step example, the maths, the Kasiski method that broke it and an exercise.

The Caesar cipher shifts every letter by the same number of positions: trying 25 shifts is enough to break it. The Vigenère cipher takes a decisive step: it uses a keyword and shifts each letter by a different amount, according to the corresponding letter of the key. So the same letter of the message becomes, at different points, different letters.

For about three centuries it was considered unbreakable: in France it was called le chiffre indéchiffrable, the indecipherable cipher. It bears the name of the French diplomat Blaise de Vigenère, but it was first described in 1553 by an Italian, Giovan Battista Bellaso. It was broken in the nineteenth century with a method that is still a classic of cryptanalysis.

1553the year Giovan Battista Bellaso published the method
26cipher alphabets in the table, one for each letter of the key
1863the year Friedrich Kasiski published the method for breaking it

The idea in brief

Polyalphabetic
It uses several cipher alphabets, alternating them according to the key, instead of just one.
Keyword
A word agreed between sender and recipient, repeated along the message.
Square table
A table with 26 rows, each an alphabet shifted one position further.
Weakness
The key repeats: whoever discovers its length reduces the problem to many Caesar ciphers.

The Vigenère cipher descends from the ideas of the Alberti cipher disk and paves the way for rotor machines such as Enigma; how it is broken is studied with the Kasiski examination.

↑