Home▸Cryptography▸Vigenere Cipher Cryptanalysis: Index of Coincidence and Key Recovery (2D)

Vigenere Cipher Cryptanalysis: Index of Coincidence and Key Recovery (2D)

The same Vigenere attack as a bar chart of column index of coincidence per trial key length, a Kasiski factor histogram, and the ciphertext, true key and recovered text side by side.

Cryptography2DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Vigenere Cipher Cryptanalysis: Index of Coincidence and Key Recovery (2D) ↗ Open standalone

Encrypt random English-frequency text with a Vigenere key, then break it: split the ciphertext into columns for every trial key length, watch the index of coincidence jump from 0.0385 to 0.0655 at the true length and its multiples, read the Kasiski repeat distances and the Friedman estimate, and recover the key letter by letter with a chi-square test. A Blender-built graph plinth and cipher wheel, with numerical checks of the statistics built in.

⚙ Under the hood

The same Vigenere attack as a bar chart of column index of coincidence per trial key length, a Kasiski factor histogram, and the ciphertext, true key and recovered text side by side.

Vigenere CipherIndex of CoincidenceKasiski ExaminationCryptanalysisChi-Square Test

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)