Cryptology - Unofficial St. Mary's College of California Web Site
Cryptology - Unofficial St. Mary's College of California Web Site
Cryptology - Unofficial St. Mary's College of California Web Site
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
76 CHAPTER 5. MONOALPHABETIC CIPHERS<br />
Then remove the ciphertext alphabet as in a keyword cipher, ignoring the *’s:<br />
plaintext<br />
ciphertext<br />
a b c d e f g h i j k l m n o p q r s t u v w x y z<br />
C A K T O B M U L D N V F P W E H Q X G I R Y J S Z<br />
Finally, one can use Interrupted Keyword Transposed ciphers, but we won’t.<br />
5.5 Frequency Counts and Exhaustion<br />
Are these new monoalphabetic ciphers any more secure than the ones we saw<br />
earlier Or will frequency analysis once again save (ruin) the day Let’s try<br />
to break a message enciphered with a keyword mixed cipher and see.<br />
Example: KNHHXKK QS PXTDQSB YQFJ NSISCYS HQEJXUK QK LXTKNUXP AO<br />
FJXKX RCNU FJQSBK QS FJX CUPXU STLXP EXUKXVXUTSHX HTUXRND LXFJCPK CR<br />
TSTDOKQK QSFNQFQCS DNHI FJX TAQDQFO TF DXTKF FC UXTP FJX DTSBNTBX CR<br />
FJX CUQBQSTD QK VXUO PXKQUTADX ANF SCF XKKXSFQTD<br />
The letter frequency count <strong>of</strong> the ciphertext is<br />
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z<br />
4 5 10 10 2 17 0 6 2 9 17 3 0 9 4 7 18 4 16 16 12 2 0 27 2 0<br />
Does this look like a Caesar cipher By far the most common letter is X, so<br />
this is likely e. But if so then S and T are y and z, respectively, and it is not<br />
likely that a message would have sixteen each <strong>of</strong> these letters. In fact, there<br />
is no low sextuple. This is not a Caesar cipher. The ciphertext’s letters have<br />
been well enough mixed that the standard frequency patterns have been totally<br />
destroyed.<br />
⋄<br />
This is the main advantage <strong>of</strong> the keyword ciphers: unless we know the<br />
method and the keyword, it is quite difficult to directly detect the pattern in<br />
the ordering <strong>of</strong> the ciphertext alphabet. In a Caesar cipher, once we knew where<br />
the ciphertext version <strong>of</strong> e was located we were basically done. In Decimation<br />
and Linear ciphers, knowing two letters allowed us to determine the rest. With<br />
a keyword cipher, the ciphertext alphabet is mixed enough that knowing the<br />
meanings <strong>of</strong> even five or ten ciphertext letters does not necessarily disclose the<br />
pattern <strong>of</strong> encryption.<br />
What about exhaustion, one might ask We might use a computer and<br />
simply try all the possibilities. Working modulo 26 there are 26 different Caesar<br />
ciphers. There are only 12 decimation ciphers modulo 26, and 26 × 12 = 312<br />
linear ciphers. How many monoalphabetic ciphers are there Well, we have 26<br />
choices for which letter goes is substituted for a. Then we have 25 choices for