2.5 PLAINTEXT LANGUAGE MODELS
Natural languages have statistical characteristics that are generally reflected in the ciphertext. We will show how these characteristics may be recognized and used to recover the plaintext and key from columnar transposition ciphertext.
We assume a language model in which plaintext, with letters in a generic alphabet
, is generated by a statistical source (Fig. 2.2). The iid source is the simplest example of a language model; it generates plaintext as a result of independent and identically distributed trails of a chance experiment. The iid source generates the plaintext n-gram X = (X0, X1, …, Xn −1) with probability

Figure 2.2 Generic statistical plaintext source.

For example, the probability of the ASCII plaintext Good morning is
![]()
where π is a probability distribution on the plaintext letters. As the iid source generates letters independently, plaintexts that differ only by the arrangement of their letters are assigned the same probability; that is, Pr{Good morning} = Pr{Gd moogninr}.
Because columnar transposition enciphers plaintext by rearranging the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access