Vigenère Cipher illustration

Vigenère Cipher

Encrypts and decrypts with the Vigenère cipher, which uses a repeating keyword to shift each letter by a different amount — the polyalphabetic cipher that resisted cryptanalysis for three centuries and earned the name "le chiffre indéchiffrable".

Runs 100% in your browser — keys and data never leave your device.

Notes

  • Vigenère defeats simple frequency analysis because the same plaintext letter maps to different ciphertext letters depending on its position under the key.
  • It is broken by first finding the key length (Kasiski examination or the index of coincidence), then solving each column as a Caesar cipher.
  • Runs 100% in your browser — keys and data never leave your device.

Explore the idea

This interactive demo needs JavaScript.