- Associate letters of the english alphabet with numbers
0,...,25. Let pi, for 0≤i≤25 denote probability of ith letter in normal English text
- Simple calculation gives ∑i=025pi2≈0.065
- Say we are given some ciphertext and let qi denote the probability of the ith letter. (qi is simple the number of occurences of the ith letter divided by the length of the ciphertext). If the key is
k then we can expect that qi+k should be roughly equal to pi for every i [They are using i+k instead of the more cumbersome [i+k mod 26]]. Equivalent if we compute