Finding the keylength is the essential step in breaking periodic substitution ciphers. However, the well-known Index of Coincidence technique becomes less reliable as the keylength increases. We describe an empirical method, based on regression analysis of frequency counts from a sample of ciphertexts, which is more reliable, yet easier to use.
展开▼