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.5.<br />

VIGENÈRE’S AUTO KEY CIPHER 151<br />

ciphertext X Z C Y Y I N T C Q A Q X<br />

key M L O O K<br />

plaintext l o o k<br />

Eventually this produces look out a comet.<br />

⋄ ⋄ ⋄ ⋄ ⋄ ⋄ ⋄ ⋄ ⋄ ⋄ ⋄ ⋄<br />

The Auto Key Cipher defeats all the types <strong>of</strong> frequency analysis we’ve seen<br />

so far, making it the strongest cipher system yet. Its main disadvantage is one<br />

we haven’t seen before: even simple copying misteaks can cause havoc. Since it<br />

is easy to make a small error, and any mistake propagates through the rest <strong>of</strong> the<br />

cipher, even a single error can make an Auto Key enciphered text unreadable.<br />

Example: Unfortunately, DSAUB ARIVI FF contains a small error. If the key<br />

is D, can you find the error 14 .<br />

⋄<br />

How might we go about breaking an Auto Key cipher Consider the following<br />

message, where we assume we know the ciphertext, and have somehow<br />

guessed one plaintext letter and know that the priming key was a single letter.<br />

· · · · · · · · s · · · · · · · · · · ·<br />

· · · · · · · · · · · · · · · · · · · ·<br />

Y B C M G W R U V S N Q I T F N W R U V<br />

By working forwards and backwards we fill in some:<br />

· · · · · · · d s · · · · · · · · · · ·<br />

· · · · · · · · d s · · · · · · · · · ·<br />

Y B C M G W R U V S N Q I T F N W R U V<br />

and then more<br />

and before long 15<br />

· · · · · · r d s a · · · · · · · · · ·<br />

· · · · · · · r d s a · · · · · · · · ·<br />

Y B C M G W R U V S N Q I T F N W R U V<br />

b a c k w a r d s a n d f o r w a r d s<br />

x b a c k w a r d s a n d f o r w a r d<br />

Y B C M G W R U V S N Q I T F N W R U V<br />

If the priming key is longer, then we need to know as many consecutive letters <strong>of</strong><br />

plaintext as there were priming key letters, but the same forwards and backwards<br />

stepping will then decrypt the cipher.<br />

14 a simple error is the message. The R in the ciphertext should be a P<br />

15 This should look quite familiar to those who completed Exercise 7.19.

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

Saved successfully!

Ooh no, something went wrong!