• Associate letters of the english alphabet with numbers 0,...,25. Let , for denote probability of ith letter in normal English text
  • Simple calculation gives
  • Say we are given some ciphertext and let denote the probability of the ith letter. ( 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 should be roughly equal to for every [They are using i+k instead of the more cumbersome [i+k mod 26]]. Equivalent if we compute