The Vigenère cipher today
Where the Vigenère cipher is found today: teaching, games, puzzles, and the lessons it left to modern cryptography.
Nobody uses the Vigenère to protect real information any more: a computer breaks it in a fraction of a second. But it remains a valuable tool.
- Teaching
- It is the perfect example for explaining the move from monoalphabetic to polyalphabetic ciphers and the role of key length.
- Puzzles and games
- Treasure hunts, escape rooms and cryptography competitions often use it.
- Programming
- It is a classic exercise for those learning to code: a few lines to encrypt, a few more to break.
- Modern lesson
- It reminds us that security depends not on the number of possible keys but on the absence of exploitable regularities.
A direct legacy
The idea of combining the message with a key sequence underlies modern stream ciphers, which combine data with a very long pseudo-random sequence. The decisive difference is that the modern sequence does not repeat predictably.
Vigenère cipher: try it yourself
Encryption and decryption exercises with the Vigenère cipher, with solutions.
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.
Vigenère cipher: frequently asked questions
Short answers to the most common questions about the Vigenère cipher.