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
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
120<br />
chapter 9<br />
This plethora of substitution alphabets provides good security but<br />
that is not <strong>the</strong> end of <strong>the</strong> story, for before 16 900 letters have been enciphered<br />
<strong>the</strong> three wired wheels can be removed <strong>and</strong> put back in a different<br />
order on <strong>the</strong> common axle. In <strong>the</strong> original <strong>Enigma</strong> <strong>the</strong>re were only three<br />
wheels in <strong>the</strong> set which was provided with <strong>the</strong> machine <strong>and</strong> so <strong>the</strong>y could<br />
be ordered in six ways. The number of available simple substitution<br />
alphabets was <strong>the</strong>refore<br />
6�16 900�101 400.<br />
In fact, since R2 can be started in any of its 26 positions, including Z, even<br />
though it cannot move into position Z during normal operation unless<br />
R1 also has previously been at Z, <strong>the</strong>re are 6�26�26�26�105 456 possible<br />
starting positions <strong>and</strong> simple substitution alphabets.<br />
Assuming that a cryptanalyst had such an <strong>Enigma</strong> he would <strong>the</strong>refore<br />
be faced with 105 456 possible wheel settings for <strong>the</strong> start of each message<br />
<strong>and</strong> this, in <strong>the</strong> days before computers, would appear to present him with<br />
an impossible task. If <strong>the</strong> cryptanalyst didn’t have an <strong>Enigma</strong> available,<br />
<strong>and</strong> didn’t know <strong>the</strong> internal wirings of <strong>the</strong> three wheels <strong>and</strong> reflector, <strong>the</strong><br />
number of possibilities that he would have to try would be very much<br />
larger for <strong>the</strong>re are<br />
25! (i.e. 25�24�23�22� ... �2�1)<br />
possible wirings of each wheel, <strong>and</strong> this number is greater than<br />
10 25 .<br />
Three such wheels, <strong>the</strong>refore, can be wired in more than<br />
10 75<br />
ways. Fur<strong>the</strong>rmore, <strong>the</strong> cryptanalyst wouldn’t know <strong>the</strong> internal wiring<br />
of <strong>the</strong> reflector <strong>and</strong> this multiplies <strong>the</strong> number of possibilities by a factor<br />
of more than<br />
10 12<br />
(for <strong>the</strong> calculation of this number see M15). Consequently, <strong>the</strong> cryptanalyst<br />
faced with messages enciphered on an <strong>Enigma</strong> with unknown<br />
wirings would apparently have to try more than<br />
10 87<br />
decryptions before being sure of success. Cryptographers, however,<br />
assume that <strong>the</strong> enemy will have acquired one of <strong>the</strong>ir machines on <strong>the</strong>