30.11.2012 Views

Code and ciphers: Julius Caesar, the Enigma and the internet

Code and ciphers: Julius Caesar, the Enigma and the internet

Code and ciphers: Julius Caesar, the Enigma and the internet

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

222<br />

solutions to problems<br />

Table S.3<br />

A B C D E<br />

A A B S O L<br />

B U T E C D<br />

C F G H I K<br />

D M N P Q R<br />

E V W X Y Z<br />

We begin <strong>the</strong> decryption by converting <strong>the</strong> monographs back into<br />

digraphs:<br />

BDCAC DCBAC CAAEB BABBD ECCEB CBCAA BCABC<br />

CBBAB CBAEB EDCCD.<br />

Table S.4<br />

3 1 5 2 4<br />

E B C C B<br />

C D B A C<br />

C C A A A<br />

E A E E B<br />

B C B B C<br />

C D E B C<br />

B C D A B<br />

C B C B B<br />

A A C B A<br />

A C D D B<br />

The transposition is 3-1-5-2-4 so we write this text vertically into a rectangle<br />

with five columns in <strong>the</strong> column order given by <strong>the</strong> transposition: see<br />

Table S.4. Finally we recover <strong>the</strong> plaintext by reading <strong>the</strong> text row by row<br />

<strong>and</strong> converting <strong>the</strong> digraphs back to monographs using <strong>the</strong> 5�5 square<br />

which produces <strong>the</strong> text<br />

WHENSHALLWETHREEMEETAGAIN<br />

or, inserting spaces,<br />

WHEN SHALL WE THREE MEET AGAIN<br />

– <strong>the</strong> opening line of Shakespeare’s Macbeth.<br />

5.2 (Playfair)<br />

With <strong>the</strong> keyword RHAPSODY <strong>the</strong> Playfair encipherment square is as<br />

shown in Table S.5

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

Saved successfully!

Ooh no, something went wrong!