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.

226<br />

solutions to problems<br />

Chapter 9<br />

9.1 (Mini-<strong>Enigma</strong>)<br />

The enciphered doublets yield <strong>the</strong> chains<br />

0239, 1648, 55 <strong>and</strong> 77.<br />

The encipherment table for R1, given column 1 <strong>and</strong> using <strong>the</strong> diagonal<br />

property, is shown in Table S.7.<br />

Table S.7<br />

Setting<br />

1 2 3 4 5 6 7 8 9 10<br />

0 0 3 1 8 5 2 9 1 4 7<br />

1 8 1 4 2 9 6 3 0 2 5<br />

2 6 9 2 5 3 0 7 4 1 3<br />

3 4 7 0 3 6 4 1 8 5 2<br />

4 3 5 8 1 4 7 5 2 9 6<br />

5 7 4 6 9 2 5 8 6 3 0<br />

6 1 8 5 7 0 3 6 9 7 4<br />

7 5 2 9 6 8 1 4 7 0 8<br />

8 9 6 3 0 7 9 2 5 8 1<br />

9 2 0 7 4 1 8 0 3 6 9<br />

The 1-chains tell us immediately that (5, 7) is a pair. The two 4-chains can<br />

be aligned (with one reversed) in eight ways. Normally we would have to<br />

try each of <strong>the</strong>se but we shall only align <strong>the</strong>m in <strong>the</strong> correct way, viz:<br />

1 8 4 6<br />

9 0 2 3<br />

Table S.8<br />

Pair Setting 1 Pair Setting 2<br />

(5, 7) (7, 5) (5, 7) (4, 2)<br />

(1, 9) (8, 2) (1, 0) (1, 3)<br />

(8, 0) (9, 0) (8, 2) (6, 9)<br />

(4, 2) (3, 6) (4, 3) (5, 7)<br />

(6, 3) (1, 4) (6, 9) (8, 0)<br />

If we now encipher <strong>the</strong> vertical <strong>and</strong> diagonal pairs at settings (1 <strong>and</strong> 2)<br />

<strong>the</strong>y give Table S.8, <strong>and</strong> <strong>the</strong> two sets of five pairs, listed in <strong>the</strong> right-h<strong>and</strong>

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

Saved successfully!

Ooh no, something went wrong!