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.

156<br />

chapter 11<br />

in many books such as [11.1], [11.2] but, as a sample, sufficient for our<br />

needs, we note that<br />

A is 11000<br />

B is 10011<br />

...<br />

P is 01101<br />

Q is 11101<br />

...<br />

Z is 10001<br />

41 31 29 26 23<br />

61<br />

37<br />

43 47 51 53 59<br />

Figure 11.1. Motion control in <strong>the</strong> SZ42. The 5 wheels at <strong>the</strong> top <strong>and</strong> <strong>the</strong><br />

61-wheel moved every time a letter was enciphered. The 61-wheel controlled<br />

<strong>the</strong> 37-wheel which controlled all <strong>the</strong> 5 wheels at <strong>the</strong> bottom.<br />

(<strong>the</strong>re is no obvious relationship between representations of consecutive<br />

letters of <strong>the</strong> alphabet).<br />

Although <strong>the</strong> 61- <strong>and</strong> 37-wheels determined <strong>the</strong> motion of <strong>the</strong> wheels<br />

in set C <strong>the</strong>y played no direct part in <strong>the</strong> actual encipherment process,<br />

which involved only <strong>the</strong> five binary components of <strong>the</strong> plaintext letter<br />

<strong>and</strong> <strong>the</strong> current five pins of set A <strong>and</strong> <strong>the</strong> current five pins of set C.<br />

A schematic diagram of <strong>the</strong> motion control in <strong>the</strong> SZ42 is shown in<br />

Figure 11.1.<br />

The encipherment of a letter on <strong>the</strong> SZ42 was carried out as follows:<br />

(1) <strong>the</strong> plaintext letter, P, was converted to its five-bit binary equivalent in<br />

<strong>the</strong> ITA code;<br />

(2) <strong>the</strong> five bits of P were each enciphered separately;<br />

(3) each bit of P was added (mod 2) to <strong>the</strong> value of <strong>the</strong> current pin on one of<br />

<strong>the</strong> wheels of set A, <strong>the</strong> value being 0 for an inactive pin <strong>and</strong> 1 for an<br />

active pin;

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

Saved successfully!

Ooh no, something went wrong!