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.

ut <strong>the</strong>re was no cryptographic advantage in using fewer. So, for example,<br />

<strong>the</strong> 27 lugs might be distributed among <strong>the</strong> six wheels as<br />

26 25 23 21 19 17<br />

4 1 9 6 5 2<br />

The number of lugs opposite a wheel is sometimes referred to as <strong>the</strong> ‘kick’<br />

of that wheel. Thus <strong>the</strong> 26-wheel above has a ‘kick of 4’ etc. The ordering<br />

is important; <strong>the</strong> cage above (4, 1, 9, 6, 5, 2) would not produce <strong>the</strong> same<br />

key stream as, say, (9, 1, 4, 2, 6, 5) although <strong>the</strong>re would be some statistical<br />

similarity.<br />

On <strong>the</strong> left h<strong>and</strong> side of <strong>the</strong> machine <strong>the</strong>re was a small wheel engraved<br />

with <strong>the</strong> alphabet; this was used for <strong>the</strong> input of <strong>the</strong> plaintext letter.<br />

There was also a print wheel that printed <strong>the</strong> cipher letter on a thin strip<br />

of paper tape. This tape had gum on <strong>the</strong> reverse side, <strong>the</strong> purpose of which<br />

was to enable <strong>the</strong> operators to stick <strong>the</strong> cipher or plaintext onto sheets of<br />

paper. A reel of this gummed paper was housed at <strong>the</strong> back of <strong>the</strong> machine<br />

<strong>and</strong> <strong>the</strong>re was also a notched screwdriver to enable <strong>the</strong> operators to set <strong>the</strong><br />

pins <strong>and</strong> <strong>the</strong> lugs.<br />

On <strong>the</strong> right-h<strong>and</strong> side of <strong>the</strong> machine <strong>the</strong>re was a h<strong>and</strong>le which, when<br />

rotated, would turn <strong>the</strong> cage <strong>and</strong> so encipher or decipher <strong>the</strong> text; this<br />

h<strong>and</strong>le also caused each of <strong>the</strong> six wheels to move forward one position.<br />

To encipher a letter <strong>the</strong> operator turned <strong>the</strong> input wheel until <strong>the</strong><br />

chosen letter was opposite an arrow, <strong>and</strong> <strong>the</strong>n turned <strong>the</strong> h<strong>and</strong>le; <strong>the</strong> cage<br />

rotated, some bars on <strong>the</strong> cage shifted <strong>and</strong> caused both <strong>the</strong> input wheel<br />

<strong>and</strong> <strong>the</strong> print wheel to turn through anything from 0 to 27 positions. The<br />

cipher letter was printed <strong>and</strong> <strong>the</strong> six wheels all moved 1 position. Ano<strong>the</strong>r<br />

letter could not be enciphered unless <strong>the</strong> input wheel had been moved by<br />

<strong>the</strong> operator. If by chance it were in <strong>the</strong> position where <strong>the</strong> next letter was<br />

opposite <strong>the</strong> arrow it was necessary to turn <strong>the</strong> wheel a few places forward<br />

<strong>and</strong> <strong>the</strong>n <strong>the</strong> same number of places back. So, if <strong>the</strong> last cipher letter was,<br />

say, T <strong>and</strong> <strong>the</strong> next plaintext letter was also T <strong>the</strong> cipher operator would<br />

have to move <strong>the</strong> input wheel a few places <strong>and</strong> <strong>the</strong>n turn it back to T<br />

before <strong>the</strong> h<strong>and</strong>le would turn <strong>the</strong> cage.<br />

For photographs of a Hagelin with its lid closed <strong>and</strong> open see Plates<br />

10.1 <strong>and</strong> 10.2.<br />

Encipherment on <strong>the</strong> Hagelin<br />

The Hagelin cipher machine 135<br />

Each wheel on <strong>the</strong> Hagelin had a number of pins sticking out to <strong>the</strong> left<br />

<strong>and</strong> <strong>the</strong> remainder to <strong>the</strong> right. The operators would be told, at <strong>the</strong> start

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

Saved successfully!

Ooh no, something went wrong!