Vigenère cipher: frequently asked questions
Short answers to the most common questions about the Vigenère cipher.
Who really invented the Vigenère cipher?
Giovan Battista Bellaso, who published it in 1553. Blaise de Vigenère described a different, stronger system in 1586, but the name stuck to him.
Why was it considered indecipherable?
Because it hides letter frequencies: the same letter of the message is encrypted in different ways, and classic frequency analysis does not work directly.
Who broke it?
Charles Babbage around 1854, without publishing the method, and Friedrich Kasiski, who published it in 1863.
Does a long key make it secure?
More secure, yes; secure, no, as long as it repeats. Only with a random key as long as the message and never reused do you get the perfect security of the one-time pad.
How does it differ from the Caesar cipher?
Caesar uses a single shift for the whole message; Vigenère changes the shift at every letter, according to the key.
Can it be decrypted without knowing the key?
Yes, if the message is long enough: the Kasiski method and frequency analysis reconstruct the key.
The pages of this topic
Back to the overviewVigenè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.
Vigenère cipher: how it works
How to encrypt and decrypt with the Vigenère cipher using the square table and the repeated keyword.
Vigenè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.