06.01.2015 Views

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

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

8.4. MULTIPLE ENCIPHERINGS 145<br />

Being confident <strong>of</strong> our keyword length, we now have five simple Caesar ciphers<br />

to break and soon the message is decrypted. 8<br />

To further emphasize the power <strong>of</strong> Friedman’s Index, we provide the values<br />

<strong>of</strong> Φ that are produced assuming various keylengths.<br />

Keylength Φ 1 Φ 2 Φ 3 Φ 4 Φ 5 Φ 6 Φ 7 Average<br />

One .045 .045<br />

Two .046 .042 .044<br />

Three .047 .043 .045 .045<br />

Four .048 .044 .052 .036 .045<br />

Five .077 .059 .062 .058 .059 .063<br />

Six .048 .045 .046 .041 .038 .043 .043<br />

Seven .044 .052 .044 .043 .048 .048 .040 .046<br />

The values in the Keylength Five row are clearly the largest. In particular, the<br />

average <strong>of</strong> .063 stands out. Five must indeed be the keylength. Especially when<br />

coupled with a computer program, Friedman’s Test provides for the almost<br />

routine determination <strong>of</strong> keylength.<br />

⋄<br />

As a method for computing the keylength for a ciphertext <strong>of</strong> only a couple<br />

hundred letters the Friedman Test is too highly influenced by quirks <strong>of</strong> the individual<br />

ciphertext and keyword. However, as the ciphertext grows, the Friedman<br />

Test hones in on the keylength with amazing accuracy.<br />

8.4 Multiple Encipherings<br />

Kasiski’s and Friedman’s tests are a very powerful one-two combination to use on<br />

polyalphbetic ciphers, especially when used on a computer, enabling the almost<br />

automatic detection <strong>of</strong> a polyalphabetic cipher’s keylength. Is there anything<br />

about the polyalphabetic ciphers that might be saved<br />

Ever since Section 7.6 we have been working under the (<strong>of</strong>ten implicit) assumption<br />

that determining the keylength <strong>of</strong> a polyalphabetic ciphertext was<br />

hard, but once we know the keylength breaking the cipher was easy. This is<br />

because the polyalphabetic ciphers are really just several Caesar ciphers twisted<br />

together – once we could pull the strands apart we were back to Chapter 1<br />

material.<br />

Since it appears relatively easy to pull the strands apart, is there a way to<br />

make the strands shorter That is, to make the number <strong>of</strong> letters per Caesar<br />

alphabet so small that decryption <strong>of</strong> the individual Kasiski depths is difficult<br />

For example, if our message has 1000 letters in it, but we could use a 100 letter<br />

keyword, there would be only 10 letters per alphabet! Even Linquist’s method<br />

8 Keyword is CODES. “Cryptography and cryptanalysis are sometimes called twin or reciprocal<br />

sciences, and in function they indeed mirror one another. What one does the other<br />

undoes. Their natures, however, differ fundamentally. Cryptography is theoretical and abstract.<br />

Cryptanalysis is empirical and concrete.” David Kahn

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!