Home▸Cryptography▸Vigenere Cipher Key Length from Index of Coincidence, Kasiski Repeats and Chi-Square Recovery

Vigenere Cipher Key Length from Index of Coincidence, Kasiski Repeats and Chi-Square Recovery

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.

Cryptography3DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
Vigenere Cipher Key Length from Index of Coincidence, Kasiski Repeats and Chi-Square Recovery ↗ 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

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.

CryptographyEncryptionHashingVigenere CipherIndex of CoincidenceKasiski ExaminationCryptanalysisChi-Square Test

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)