Introduction
The simplest approach to cryptanalyzing a block cipher is exhaustive key search. The cryptanalyst wishes to find the key k that was used with block cipher E to encrypt some plaintext P to produce ciphertext C, \(C=E_k(P)\) (see Figure 1 and Shannon's model).