What happens to the frequencies when plaintext is scrambled after applying an encryption key? Figure 17 shows the ciphertext generated by encrypting the plaintext from Figure 10 using the encryption key shown in Figure 16.
What happened to the frequencies? Inspect the unigram and bigram tables of
frequency tallies in Figures 18 and 19. As expected, the tables do change. The
numbers appear to change, but do they really? For instance, yes,
changes from
20 to 12 in unigram table. However, notice that number 20 still appears, but
now is
.
In retrospect, this is not surprising: the encryption key maps each
'a' to 'c'. So, the old frequency of 'a' is the new frequency of
'c'. Similarly, in the bigram table,
in the plaintext table moves to
in the ciphertext table because the encryption key simultaneously maps 'd' to 'a' and 'a' to
'c'. That is, enciphering ``scrambles'' frequencies by rearranging them.