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.

178 CHAPTER 9. DIGRAPHIC CIPHERS<br />

Examples:<br />

(1) Using keyword square, encipher rectangle<br />

The arrangement <strong>of</strong> the alphabet is<br />

S Q U A R<br />

E B C D F<br />

G H I K L<br />

M N O P T<br />

V W X Y Z<br />

Then we follow the directions. re forms corners <strong>of</strong> a rectangle with SF.<br />

Since S is on r’s row, and F is on e’s, re becomes SF. ct forms a rectangle<br />

with FO, and an with QP. gl are on the same row, so moving each one to<br />

the right g becomes H and (circling around) l becomes G. Finally, perhaps<br />

adding an x as a null, ex becomes CV. So the final ciphertext is SFFOQ<br />

PHGCV.<br />

(2) Use the same keyword to decipher RKNKQ DFM.<br />

Each <strong>of</strong> the pairs RK, NK,QD, and FM are two <strong>of</strong> the four corners <strong>of</strong> a rectangle.<br />

Replace each letter by the corner <strong>of</strong> the rectangle with the same<br />

height.<br />

(3) Encipher foreign affairs using the keyword playfair.<br />

(4) Use the same keyword to decipher QMIGH PSZQF BKKN. 9<br />

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

Of course, naming this cipher for Playfair is already unfair to Wheatstone.<br />

But further, Wheatstone recommended using the cipher with rectangular matrices,<br />

rather than only square ones, and mixing the alphabet as in the Keyword<br />

Mixed ciphers rather as in the simpler Keyword ciphers. Unfortunately, these<br />

improvements tended to be forgotten.<br />

The Playfair cipher is quick to set-up and easy to use. It is harder to break<br />

than a monoalphabetic cipher, but only somewhat so. To see why, notice that<br />

the only possible substitutes for e are the letters in its row and the one letter<br />

directly beneath it. (In the keyword SQUARE example earlier, these are the<br />

letters BCDFG.) So the letters in e’s row will be used a lot. This gives some hope<br />

<strong>of</strong> setting up an entire and row in an unknown Playfair cipher. Additionally,<br />

bigrams such as re and er will always be encoded by a reversal, for example as<br />

SF and FS. From here, with some guided guesswork and some training, anyone<br />

can be taught to break Playfair ciphers accurately and fairly quickly.<br />

9 (2) alphabet, (3 ) LTIGR EQPYZ PY, (4) three attaches.

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

Saved successfully!

Ooh no, something went wrong!