Autocorrelation for Vigenère Cipher Key-Length Detection
A repeating-key Vigenère cipher leaves a periodic trace even when no repeated word is obvious. One way to look for that trace is to compare the ciphertext with shifted copies of itself and count how often the letters line up exactly. If a shift realigns the same key positions, the coincidence rate c
