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.

wheel <strong>and</strong> <strong>the</strong>n through <strong>the</strong> three wheels R1, R2 <strong>and</strong> R3, after which it is<br />

‘turned around’ by <strong>the</strong> reflector, U, <strong>and</strong> <strong>the</strong>n goes back through <strong>the</strong> three<br />

wheels in <strong>the</strong> order R3, R2 <strong>and</strong> R1 before finally passing back through <strong>the</strong><br />

entry wheel to light up <strong>the</strong> lamp which indicates <strong>the</strong> cipher letter. The<br />

original plaintext letter thus undergoes 9 changes before it finally<br />

emerges as a cipher letter; in fact, as we shall see later, in most military<br />

versions of <strong>the</strong> <strong>Enigma</strong> <strong>the</strong>re were 2 fur<strong>the</strong>r changes, making 11 in all.<br />

If all <strong>the</strong> wheels were fixed <strong>the</strong> <strong>Enigma</strong> would merely provide a<br />

complex way of generating a simple substitution cipher, but <strong>the</strong>y are not<br />

fixed. When a keyboard letter is pressed <strong>the</strong> rightmost wheel, R1, immediately<br />

turns one position <strong>and</strong> <strong>the</strong> current <strong>the</strong>n passes through <strong>the</strong><br />

machine. After 26 letters have been enciphered R1 will be back in its original<br />

position. Unless R2 or R3 had moved in <strong>the</strong> mean time <strong>the</strong> <strong>Enigma</strong><br />

would be equivalent to 26 simple substitution <strong>ciphers</strong>; R2, however, will<br />

have moved. The notch ring on R1 moves with <strong>the</strong> wheel <strong>and</strong> so, some<br />

time during <strong>the</strong> 26 encipherments, <strong>the</strong> V-shaped notch will have reached<br />

<strong>the</strong> position immediately in front of a lever at <strong>the</strong> back of <strong>the</strong> machine<br />

opposite R1, this will allow <strong>the</strong> lever to engage with <strong>the</strong> V-shaped notch<br />

<strong>and</strong> this in turn will allow a lever opposite R2 to cause R2 to turn one position.<br />

Since R2 has now moved <strong>the</strong> encipherment alphabets will all be different<br />

from what <strong>the</strong>y were 26 encipherments previously. R2 thus moves<br />

at least once in every 26 letter encipherments; in fact it moves slightly<br />

more frequently than that, for R2 also has a notch ring on it, <strong>and</strong> when its<br />

notch is opposite a lever behind R2 <strong>the</strong> third wheel, R3, is caused to move<br />

one position <strong>and</strong> R2 itself is turned as well. The consequence of all this is that<br />

<strong>the</strong> three wheels will not all have returned to <strong>the</strong>ir original positions until<br />

26 �25�26�16 900<br />

The <strong>Enigma</strong> cipher machine 119<br />

letters have been enciphered. Thus <strong>the</strong> <strong>Enigma</strong> machine provides an<br />

automatic way of using 16 900 simple substitution <strong>ciphers</strong> in succession.<br />

So, for example, if <strong>the</strong> notch ring on R1 were so fixed that its notch caused<br />

R2 to turn when R1 was at setting Z as shown in its window, <strong>and</strong> likewise<br />

with <strong>the</strong> notch ring on R2, <strong>the</strong> successive positions of <strong>the</strong> three wheels<br />

when <strong>the</strong>y are started at positions A, Y, Y (reading from left to right) will<br />

be<br />

A Y Y,<br />

A Y Z,<br />

A Z A,<br />

B A B.

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

Saved successfully!

Ooh no, something went wrong!