Bars = column IC per trial key length (green = English-like, yellow = scanning, pink = your attack length)
Kasiski factor counts

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

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.

Made with 🟠 Blender