Vigenère cipher: history
From Alberti to Trithemius, from Bellaso to Vigenère: how the “indecipherable” cipher was born, why it bears the wrong name and how it was broken in the nineteenth century.
Leon Battista Alberti describes the cipher disk and the idea of changing alphabet during the message.
The German abbot Johannes Trithemius writes his Polygraphia, with a table of shifted alphabets, used however in a fixed order.
Giovan Battista Bellaso publishes in Venice a method that chooses the alphabet according to a keyword: the cipher now called Vigenère.
Blaise de Vigenère publishes his Traicté des chiffres, also describing a stronger system with an autokey.
The cipher is attributed to Vigenère and its fame as “indecipherable” spreads.
Charles Babbage manages to break it, without publishing the method.
The Prussian officer Friedrich Kasiski publishes a general method for finding the length of the key.
William Friedman introduces the index of coincidence, making the attack even more systematic.
The wrong name
The attribution to Vigenère is one of the most famous mistakes in the history of cryptography. Vigenère did describe a better system, in which the key does not repeat but continues with the text of the message itself. The simpler method, Bellaso’s, ended up bearing his name.
Vigenère cipher: how it works
How to encrypt and decrypt with the Vigenère cipher using the square table and the repeated keyword.
The pages of this topic
Back to the overviewVigenère cipher: worked example
Step-by-step encryption of the message “meet me at the bridge” with the key CIPHER, letter by letter.
Vigenère cipher: the maths
The formulas of the Vigenère cipher in modular arithmetic, the key space and why the repetition of the key is its weakness.
Vigenère cipher: weaknesses and attacks
The Kasiski method, Friedman’s index of coincidence and column-by-column frequency analysis: how the Vigenère cipher is broken.
The Vigenère cipher today
Where the Vigenère cipher is found today: teaching, games, puzzles, and the lessons it left to modern cryptography.
Vigenère cipher: try it yourself
Encryption and decryption exercises with the Vigenère cipher, with solutions.
Vigenère cipher: frequently asked questions
Short answers to the most common questions about the Vigenère cipher.