Enigma machine
![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/b/bd/Enigma_%28crittografia%29_-_Museo_scienza_e_tecnologia_Milano.jpg/220px-Enigma_%28crittografia%29_-_Museo_scienza_e_tecnologia_Milano.jpg)
The Enigma cipher machine |
---|
![]() |
Enigma machine |
Breaking Enigma |
Related |
The Enigma machine is a cipher device developed and used in the early- to mid-20th century to protect commercial, diplomatic, and military communication. It was employed extensively by Nazi Germany during World War II, in all branches of the German military. The Enigma machine was considered so secure that it was used to encipher the most top-secret messages.[1]
The Enigma has an electromechanical rotor mechanism that scrambles the 26 letters of the alphabet. In typical use, one person enters text on the Enigma's keyboard and another person writes down which of the 26 lights above the keyboard illuminated at each key press. If plain text is entered, the illuminated letters are the ciphertext. Entering ciphertext transforms it back into readable plaintext. The rotor mechanism changes the electrical connections between the keys and the lights with each keypress.
The security of the system depends on machine settings that were generally changed daily, based on secret key lists distributed in advance, and on other settings that were changed for each message. The receiving station would have to know and use the exact settings employed by the transmitting station to decrypt a message.
Although Nazi Germany introduced a series of improvements to the Enigma over the years that hampered decryption efforts, they did not prevent Poland from cracking the machine as early as December 1932 and reading messages prior to and into the war. Poland's sharing of their achievements enabled the Allies to exploit Enigma-enciphered messages as a major source of intelligence.[2] Many commentators say the flow of Ultra communications intelligence from the decrypting of Enigma, Lorenz, and other ciphers shortened the war substantially and may even have altered its outcome.[3]
History
[edit]The Enigma machine was invented by German engineer Arthur Scherbius at the end of World War I.[4] The German firm Scherbius & Ritter, co-founded by Scherbius, patented ideas for a cipher machine in 1918 and began marketing the finished product under the brand name Enigma in 1923, initially targeted at commercial markets.[5] Early models were used commercially from the early 1920s, and adopted by military and government services of several countries, most notably Nazi Germany before and during World War II.[6]
Several Enigma models were produced,[7] but the German military models, having a plugboard, were the most complex. Japanese and Italian models were also in use.[8] With its adoption (in slightly modified form) by the German Navy in 1926 and the German Army and Air Force soon after, the name Enigma became widely known in military circles. Pre-war German military planning emphasized fast, mobile forces and tactics, later known as blitzkrieg, which depend on radio communication for command and coordination. Since adversaries would likely intercept radio signals, messages had to be protected with secure encipherment. Compact and easily portable, the Enigma machine filled that need.
Breaking Enigma
[edit]![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/8/8b/Poland_Bydgoszcz_Rejewski_monument.jpg/290px-Poland_Bydgoszcz_Rejewski_monument.jpg)
French spy Hans-Thilo Schmidt obtained access to German cipher materials that included the daily keys used in September and October 1932. Those keys included the plugboard settings. The French passed the material to the Poles. Around December 1932, Marian Rejewski, a Polish mathematician and cryptologist at the Polish Cipher Bureau, used the theory of permutations,[9] and flaws in the German military-message encipherment procedures, to break message keys of the plugboard Enigma machine.[10] Rejewski used the French supplied material and the message traffic that took place in September and October to solve for the unknown rotor wiring. Consequently the Polish mathematicians were able to build their own Enigma machines, dubbed "Enigma doubles". Rejewski was aided by fellow mathematician-cryptologists Jerzy Różycki and Henryk Zygalski, both of whom had been recruited with Rejewski from Poznań University, which had been selected for its students' knowledge of the German language, since that area was held by Germany prior to World War I. The Polish Cipher Bureau developed techniques to defeat the plugboard and find all components of the daily key, which enabled the Cipher Bureau to read German Enigma messages starting from January 1933.[11]
Over time, the German cryptographic procedures improved, and the Cipher Bureau developed techniques and designed mechanical devices to continue reading Enigma traffic. As part of that effort, the Poles exploited quirks of the rotors, compiled catalogues, built a cyclometer (invented by Rejewski) to help make a catalogue with 100,000 entries, invented and produced Zygalski sheets, and built the electromechanical cryptologic bomba (invented by Rejewski) to search for rotor settings. In 1938 the Poles had six bomby (plural of bomba), but when that year the Germans added two more rotors, ten times as many bomby would have been needed to read the traffic.[12]
On 26 and 27 July 1939,[13] in Pyry, just south of Warsaw, the Poles initiated French and British military intelligence representatives into the Polish Enigma-decryption techniques and equipment, including Zygalski sheets and the cryptologic bomb, and promised each delegation a Polish-reconstructed Enigma (the devices were soon delivered).[14]
In September 1939, British Military Mission 4, which included Colin Gubbins and Vera Atkins, went to Poland, intending to evacuate cipher-breakers Marian Rejewski, Jerzy Różycki, and Henryk Zygalski from the country. The cryptologists, however, had been evacuated by their own superiors into Romania, at the time a Polish-allied country. On the way, for security reasons, the Polish Cipher Bureau personnel had deliberately destroyed their records and equipment. From Romania they traveled on to France, where they resumed their cryptological work, collaborating by teletype with the British, who began work on decrypting German Enigma messages, using the Polish equipment and techniques.[15]
Gordon Welchman, who became head of Hut 6 at Bletchley Park, wrote: "Hut 6 Ultra would never have got off the ground if we had not learned from the Poles, in the nick of time, the details both of the German military version of the commercial Enigma machine, and of the operating procedures that were in use." The Polish transfer of theory and technology at Pyry formed the crucial basis for the subsequent World War II British Enigma-decryption effort at Bletchley Park, where Welchman worked.[16]
During the war, British cryptologists decrypted a vast number of messages enciphered on Enigma. The intelligence gleaned from this source, codenamed "Ultra" by the British, was a substantial aid to the Allied war effort.[a]
Though Enigma had some cryptographic weaknesses, in practice it was German procedural flaws, operator mistakes, failure to systematically introduce changes in encipherment procedures, and Allied capture of key tables and hardware that, during the war, enabled Allied cryptologists to succeed.[17][18]
The Abwehr used different versions of Enigma machines. In November 1942, during Operation Torch, a machine was captured which had no plugboard and the three rotors had been changed to rotate 11, 15, and 19 times rather than once every 26 letters, plus a plate on the left acted as a fourth rotor.[19] From October 1944, the German Abwehr used the Schlüsselgerät 41.[20]
The Abwehr code had been broken on 8 December 1941 by Dilly Knox. Agents sent messages to the Abwehr in a simple code which was then sent on using an Enigma machine. The simple codes were broken and helped break the daily Enigma cipher. This breaking of the code enabled the Double-Cross System to operate.[19]
Design
[edit]![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/7/7b/Bundesarchiv_Bild_183-2007-0705-502%2C_Chiffriermaschine_%22Enigma%22.jpg/170px-Bundesarchiv_Bild_183-2007-0705-502%2C_Chiffriermaschine_%22Enigma%22.jpg)
Like other rotor machines, the Enigma machine is a combination of mechanical and electrical subsystems. The mechanical subsystem consists of a keyboard; a set of rotating disks called rotors arranged adjacently along a spindle; one of various stepping components to turn at least one rotor with each key press, and a series of lamps, one for each letter. These design features are the reason that the Enigma machine was originally referred to as the rotor-based cipher machine during its intellectual inception in 1915.[21]
Electrical pathway
[edit]![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/5/53/Enigma_wiring_kleur.svg/290px-Enigma_wiring_kleur.svg.png)
An electrical pathway is a route for current to travel. By manipulating this phenomenon the Enigma machine was able to scramble messages.[21] The mechanical parts act by forming a varying electrical circuit. When a key is pressed, one or more rotors rotate on the spindle. On the sides of the rotors are a series of electrical contacts that, after rotation, line up with contacts on the other rotors or fixed wiring on either end of the spindle. When the rotors are properly aligned, each key on the keyboard is connected to a unique electrical pathway through the series of contacts and internal wiring. Current, typically from a battery, flows through the pressed key, into the newly configured set of circuits and back out again, ultimately lighting one display lamp, which shows the output letter. For example, when encrypting a message starting ANX..., the operator would first press the A key, and the Z lamp might light, so Z would be the first letter of the ciphertext. The operator would next press N, and then X in the same fashion, and so on.
![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/6/6c/Enigma-action.svg/170px-Enigma-action.svg.png)
Current flows from the battery (1) through a depressed bi-directional keyboard switch (2) to the plugboard (3). Next, it passes through the (unused in this instance, so shown closed) plug "A" (3) via the entry wheel (4), through the wiring of the three (Wehrmacht Enigma) or four (Kriegsmarine M4 and Abwehr variants) installed rotors (5), and enters the reflector (6). The reflector returns the current, via an entirely different path, back through the rotors (5) and entry wheel (4), proceeding through plug "S" (7) connected with a cable (8) to plug "D", and another bi-directional switch (9) to light the appropriate lamp.[22]
The repeated changes of electrical path through an Enigma scrambler implement a polyalphabetic substitution cipher that provides Enigma's security. The diagram on the right shows how the electrical pathway changes with each key depression, which causes rotation of at least the right-hand rotor. Current passes into the set of rotors, into and back out of the reflector, and out through the rotors again. The greyed-out lines are other possible paths within each rotor; these are hard-wired from one side of each rotor to the other. The letter A encrypts differently with consecutive key presses, first to G, and then to C. This is because the right-hand rotor steps (rotates one position) on each key press, sending the signal on a completely different route. Eventually other rotors step with a key press.
Rotors
[edit]![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Enigma_rotors_with_alphabet_rings.jpg/220px-Enigma_rotors_with_alphabet_rings.jpg)
The rotors (alternatively wheels or drums, Walzen in German) form the heart of an Enigma machine. Each rotor is a disc approximately 10 cm (3.9 in) in diameter made from Ebonite or Bakelite with 26 brass, spring-loaded, electrical contact pins arranged in a circle on one face, with the other face housing 26 corresponding electrical contacts in the form of circular plates. The pins and contacts represent the alphabet — typically the 26 letters A–Z, as will be assumed for the rest of this description. When the rotors are mounted side by side on the spindle, the pins of one rotor rest against the plate contacts of the neighbouring rotor, forming an electrical connection. Inside the body of the rotor, 26 wires connect each pin on one side to a contact on the other in a complex pattern. Most of the rotors are identified by Roman numerals, and each issued copy of rotor I, for instance, is wired identically to all others. The same is true for the special thin beta and gamma rotors used in the M4 naval variant.
![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/1/18/Enigma-rotors.jpg/220px-Enigma-rotors.jpg)
By itself, a rotor performs only a very simple type of encryption, a simple substitution cipher. For example, the pin corresponding to the letter E might be wired to the contact for letter T on the opposite face, and so on. Enigma's security comes from using several rotors in series (usually three or four) and the regular stepping movement of the rotors, thus implementing a polyalphabetic substitution cipher.
Each rotor can be set to one of 26 starting positions when placed in an Enigma machine. After insertion, a rotor can be turned to the correct position by hand, using the grooved finger-wheel which protrudes from the internal Enigma cover when closed. In order for the operator to know the rotor's position, each has an alphabet tyre (or letter ring) attached to the outside of the rotor disc, with 26 characters (typically letters); one of these is visible through the window for that slot in the cover, thus indicating the rotational position of the rotor. In early models, the alphabet ring was fixed to the rotor disc. A later improvement was the ability to adjust the alphabet ring relative to the rotor disc. The position of the ring was known as the Ringstellung ("ring setting"), and that setting was a part of the initial setup needed prior to an operating session. In modern terms it was a part of the initialization vector.
![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/d/d8/Enigma_rotors_and_spindle_showing_contacts_rachet_and_notch.jpg/220px-Enigma_rotors_and_spindle_showing_contacts_rachet_and_notch.jpg)
Each rotor contains one or more notches that control rotor stepping. In the military variants, the notches are located on the alphabet ring.
The Army and Air Force Enigmas were used with several rotors, initially three. On 15 December 1938, this changed to five, from which three were chosen for a given session. Rotors were marked with Roman numerals to distinguish them: I, II, III, IV and V, all with single turnover notches located at different points on the alphabet ring. This variation was probably intended as a security measure, but ultimately allowed the Polish Clock Method and British Banburismus attacks.
The Naval version of the Wehrmacht Enigma had always been issued with more rotors than the other services: At first six, then seven, and finally eight. The additional rotors were marked VI, VII and VIII, all with different wiring, and had two notches, resulting in more frequent turnover. The four-rotor Naval Enigma (M4) machine accommodated an extra rotor in the same space as the three-rotor version. This was accomplished by replacing the original reflector with a thinner one and by adding a thin fourth rotor. That fourth rotor was one of two types, Beta or Gamma, and never stepped, but could be manually set to any of 26 positions. One of the 26 made the machine perform identically to the three-rotor machine.
Stepping
[edit]To avoid merely implementing a simple (solvable) substitution cipher, every key press caused one or more rotors to step by one twenty-sixth of a full rotation, before the electrical connections were made. This changed the substitution alphabet used for encryption, ensuring that the cryptographic substitution was different at each new rotor position, producing a more formidable polyalphabetic substitution cipher. The stepping mechanism varied slightly from model to model. The right-hand rotor stepped once with each keystroke, and other rotors stepped less frequently.
Turnover
[edit]![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/6/6a/Enigma_ratchet.png/220px-Enigma_ratchet.png)
The advancement of a rotor other than the left-hand one was called a turnover by the British. This was achieved by a ratchet and pawl mechanism. Each rotor had a ratchet with 26 teeth and every time a key was pressed, the set of spring-loaded pawls moved forward in unison, trying to engage with a ratchet. The alphabet ring of the rotor to the right normally prevented this. As this ring rotated with its rotor, a notch machined into it would eventually align itself with the pawl, allowing it to engage with the ratchet, and advance the rotor on its left. The right-hand pawl, having no rotor and ring to its right, stepped its rotor with every key depression.[23] For a single-notch rotor in the right-hand position, the middle rotor stepped once for every 26 steps of the right-hand rotor. Similarly for rotors two and three. For a two-notch rotor, the rotor to its left would turn over twice for each rotation.
The first five rotors to be introduced (I–V) contained one notch each, while the additional naval rotors VI, VII and VIII each had two notches. The position of the notch on each rotor was determined by the letter ring which could be adjusted in relation to the core containing the interconnections. The points on the rings at which they caused the next wheel to move were as follows.[24]
Rotor | Turnover position(s) | BP mnemonic |
---|---|---|
I | R | Royal |
II | F | Flags |
III | W | Wave |
IV | K | Kings |
V | A | Above |
VI, VII and VIII | A and N |
The design also included a feature known as double-stepping. This occurred when each pawl aligned with both the ratchet of its rotor and the rotating notched ring of the neighbouring rotor. If a pawl engaged with a ratchet through alignment with a notch, as it moved forward it pushed against both the ratchet and the notch, advancing both rotors. In a three-rotor machine, double-stepping affected rotor two only. If, in moving forward, the ratchet of rotor three was engaged, rotor two would move again on the subsequent keystroke, resulting in two consecutive steps. Rotor two also pushes rotor one forward after 26 steps, but since rotor one moves forward with every keystroke anyway, there is no double-stepping.[23] This double-stepping caused the rotors to deviate from odometer-style regular motion.
With three wheels and only single notches in the first and second wheels, the machine had a period of 26×25×26 = 16,900 (not 26×26×26, because of double-stepping).[23] Historically, messages were limited to a few hundred letters, and so there was no chance of repeating any combined rotor position during a single session, denying cryptanalysts valuable clues.
To make room for the Naval fourth rotors, the reflector was made much thinner. The fourth rotor fitted into the space made available. No other changes were made, which eased the changeover. Since there were only three pawls, the fourth rotor never stepped, but could be manually set into one of 26 possible positions.
A device that was designed, but not implemented before the war's end, was the Lückenfüllerwalze (gap-fill wheel) that implemented irregular stepping. It allowed field configuration of notches in all 26 positions. If the number of notches was a relative prime of 26 and the number of notches were different for each wheel, the stepping would be more unpredictable. Like the Umkehrwalze-D it also allowed the internal wiring to be reconfigured.[25]
Entry wheel
[edit]The current entry wheel (Eintrittswalze in German), or entry stator, connects the plugboard to the rotor assembly. If the plugboard is not present, the entry wheel instead connects the keyboard and lampboard to the rotor assembly. While the exact wiring used is of comparatively little importance to security, it proved an obstacle to Rejewski's progress during his study of the rotor wirings. The commercial Enigma connects the keys in the order of their sequence on a QWERTZ keyboard: Q→A, W→B, E→C and so on. The military Enigma connects them in straight alphabetical order: A→A, B→B, C→C, and so on. It took inspired guesswork for Rejewski to penetrate the modification.
Reflector
[edit]![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Enigma_insides.agr.jpg/220px-Enigma_insides.agr.jpg)
With the exception of models A and B, the last rotor came before a 'reflector' (German: Umkehrwalze, meaning 'reversal rotor'), a patented feature[26] unique to Enigma among the period's various rotor machines. The reflector connected outputs of the last rotor in pairs, redirecting current back through the rotors by a different route. The reflector ensured that Enigma would be self-reciprocal; thus, with two identically configured machines, a message could be encrypted on one and decrypted on the other, without the need for a bulky mechanism to switch between encryption and decryption modes. The reflector allowed a more compact design, but it also gave Enigma the property that no letter ever encrypted to itself. This was a severe cryptological flaw that was subsequently exploited by codebreakers.
In Model 'C', the reflector could be inserted in one of two different positions. In Model 'D', the reflector could be set in 26 possible positions, although it did not move during encryption. In the Abwehr Enigma, the reflector stepped during encryption in a manner similar to the other wheels.
In the German Army and Air Force Enigma, the reflector was fixed and did not rotate; there were four versions. The original version was marked 'A',[27] and was replaced by Umkehrwalze B on 1 November 1937. A third version, Umkehrwalze C was used briefly in 1940, possibly by mistake, and was solved by Hut 6.[28] The fourth version, first observed on 2 January 1944, had a rewireable reflector, called Umkehrwalze D, nick-named Uncle Dick by the British, allowing the Enigma operator to alter the connections as part of the key settings.
Plugboard
[edit]![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/2/27/Enigma-plugboard.jpg/220px-Enigma-plugboard.jpg)
The plugboard (Steckerbrett in German) permitted variable wiring that could be reconfigured by the operator (visible on the front panel of Figure 1; some of the patch cords can be seen in the lid). It was introduced on German Army versions in 1928,[29] and was soon adopted by the Reichsmarine (German Navy). The plugboard contributed more cryptographic strength than an extra rotor, as it had 150 trillion possible settings (see below).[30] Enigma without a plugboard (known as unsteckered Enigma) could be solved relatively straightforwardly using hand methods; these techniques were generally defeated by the plugboard, driving Allied cryptanalysts to develop special machines to solve it.
A cable placed onto the plugboard connected letters in pairs; for example, E and Q might be a steckered pair. The effect was to swap those letters before and after the main rotor scrambling unit. For example, when an operator pressed E, the signal was diverted to Q before entering the rotors. Up to 13 steckered pairs might be used at one time, although only 10 were normally used.
Current flowed from the keyboard through the plugboard, and proceeded to the entry-rotor or Eintrittswalze. Each letter on the plugboard had two jacks. Inserting a plug disconnected the upper jack (from the keyboard) and the lower jack (to the entry-rotor) of that letter. The plug at the other end of the crosswired cable was inserted into another letter's jacks, thus switching the connections of the two letters.
Accessories
[edit]![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/7/77/Enigma-printer-2.jpg/220px-Enigma-printer-2.jpg)
Other features made various Enigma machines more secure or more convenient.[31]
Schreibmax
[edit]Some M4 Enigmas used the Schreibmax, a small printer that could print the 26 letters on a narrow paper ribbon. This eliminated the need for a second operator to read the lamps and transcribe the letters. The Schreibmax was placed on top of the Enigma machine and was connected to the lamp panel. To install the printer, the lamp cover and light bulbs had to be removed. It improved both convenience and operational security; the printer could be installed remotely such that the signal officer operating the machine no longer had to see the decrypted plaintext.
Fernlesegerät
[edit]Another accessory was the remote lamp panel Fernlesegerät. For machines equipped with the extra panel, the wooden case of the Enigma was wider and could store the extra panel. A lamp panel version could be connected afterwards, but that required, as with the Schreibmax, that the lamp panel and light bulbs be removed.[22] The remote panel made it possible for a person to read the decrypted plaintext without the operator seeing it.
Uhr
[edit]![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/4/45/Enigma-uhr-box.jpg/170px-Enigma-uhr-box.jpg)
In 1944, the Luftwaffe introduced a plugboard switch, called the Uhr (clock), a small box containing a switch with 40 positions. It replaced the standard plugs. After connecting the plugs, as determined in the daily key sheet, the operator turned the switch into one of the 40 positions, each producing a different combination of plug wiring. Most of these plug connections were, unlike the default plugs, not pair-wise.[22] In one switch position, the Uhr did not swap letters, but simply emulated the 13 stecker wires with plugs.
Mathematical analysis
[edit]The Enigma transformation for each letter can be specified mathematically as a product of permutations.[9] Assuming a three-rotor German Army/Air Force Enigma, let P denote the plugboard transformation, U denote that of the reflector (), and L, M, R denote those of the left, middle and right rotors respectively. Then the encryption E can be expressed as
After each key press, the rotors turn, changing the transformation. For example, if the right-hand rotor R is rotated n positions, the transformation becomes
where ρ is the cyclic permutation mapping A to B, B to C, and so forth. Similarly, the middle and left-hand rotors can be represented as j and k rotations of M and L. The encryption transformation can then be described as
Combining three rotors from a set of five, each of the 3 rotor settings with 26 positions, and the plugboard with ten pairs of letters connected, the military Enigma has 158,962,555,217,826,360,000 different settings (nearly 159 quintillion or about 67 bits).[30]
- Choose 3 rotors from a set of 5 rotors = 5 x 4 x 3 = 60
- 26 positions per rotor = 26 x 26 x 26 = 17,576
- Plugboard = 26! / ( 6! x 10! x 2^10) = 150,738,274,937,250
- Multiply each of the above = 158,962,555,217,826,360,000
Operation
[edit]Basic operation
[edit]A German Enigma operator would be given a plaintext message to encrypt. After setting up his machine, he would type the message on the Enigma keyboard. For each letter pressed, one lamp lit indicating a different letter according to a pseudo-random substitution determined by the electrical pathways inside the machine. The letter indicated by the lamp would be recorded, typically by a second operator, as the cyphertext letter. The action of pressing a key also moved one or more rotors so that the next key press used a different electrical pathway, and thus a different substitution would occur even if the same plaintext letter were entered again. For each key press there was rotation of at least the right hand rotor and less often the other two, resulting in a different substitution alphabet being used for every letter in the message. This process continued until the message was completed. The cyphertext recorded by the second operator would then be transmitted, usually by radio in Morse code, to an operator of another Enigma machine. This operator would type in the cyphertext and — as long as all the settings of the deciphering machine were identical to those of the enciphering machine — for every key press the reverse substitution would occur and the plaintext message would emerge.
Details
[edit]![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/8/82/Kenngruppenheft.jpg/220px-Kenngruppenheft.jpg)
![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/6/61/Enigma_keylist_3_rotor.jpg/220px-Enigma_keylist_3_rotor.jpg)
In use, the Enigma required a list of daily key settings and auxiliary documents. In German military practice, communications were divided into separate networks, each using different settings. These communication nets were termed keys at Bletchley Park, and were assigned code names, such as Red, Chaffinch, and Shark. Each unit operating in a network was given the same settings list for its Enigma, valid for a period of time. The procedures for German Naval Enigma were more elaborate and more secure than those in other services and employed auxiliary codebooks. Navy codebooks were printed in red, water-soluble ink on pink paper so that they could easily be destroyed if they were endangered or if the vessel was sunk.
An Enigma machine's setting (its cryptographic key in modern terms; Schlüssel in German) specified each operator-adjustable aspect of the machine:
- Wheel order (Walzenlage) – the choice of rotors and the order in which they are fitted.
- Ring settings (Ringstellung) – the position of each alphabet ring relative to its rotor wiring.
- Plug connections (Steckerverbindungen) – the pairs of letters in the plugboard that are connected together.
- In very late versions, the wiring of the reconfigurable reflector.
- Starting position of the rotors (Grundstellung) – chosen by the operator, should be different for each message.
For a message to be correctly encrypted and decrypted, both sender and receiver had to configure their Enigma in the same way; rotor selection and order, ring positions, plugboard connections and starting rotor positions must be identical. Except for the starting positions, these settings were established beforehand, distributed in key lists and changed daily. For example, the settings for the 18th day of the month in the German Luftwaffe Enigma key list number 649 (see image) were as follows:
- Wheel order: IV, II, V
- Ring settings: 15, 23, 26
- Plugboard connections: EJ OY IV AQ KW FX MT PS LU BD
- Reconfigurable reflector wiring: IU AS DV GL FT OX EZ CH MR KN BQ PW
- Indicator groups: lsa zbw vcj rxn
Enigma was designed to be secure even if the rotor wiring was known to an opponent, although in practice considerable effort protected the wiring configuration. If the wiring is secret, the total number of possible configurations has been calculated to be around 3×10114 (approximately 380 bits); with known wiring and other operational constraints, this is reduced to around 1023 (76 bits).[32] Because of the large number of possibilities, users of Enigma were confident of its security; it was not then feasible for an adversary to even begin to try a brute-force attack.
Indicator
[edit]Most of the key was kept constant for a set time period, typically a day. A different initial rotor position was used for each message, a concept similar to an initialisation vector in modern cryptography. The reason is that encrypting many messages with identical or near-identical settings (termed in cryptanalysis as being in depth), would enable an attack using a statistical procedure such as Friedman's Index of coincidence.[33] The starting position for the rotors was transmitted just before the ciphertext, usually after having been enciphered. The exact method used was termed the indicator procedure. Design weakness and operator sloppiness in these indicator procedures were two of the main weaknesses that made cracking Enigma possible.
![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/a/a1/Enigma-rotor-windows.jpg/220px-Enigma-rotor-windows.jpg)
One of the earliest indicator procedures for the Enigma was cryptographically flawed and allowed Polish cryptanalysts to make the initial breaks into the plugboard Enigma. The procedure had the operator set his machine in accordance with the secret settings that all operators on the net shared. The settings included an initial position for the rotors (the Grundstellung), say, AOH. The operator turned his rotors until AOH was visible through the rotor windows. At that point, the operator chose his own arbitrary starting position for the message he would send. An operator might select EIN, and that became the message setting for that encryption session. The operator then typed EIN into the machine twice, this producing the encrypted indicator, for example XHTLOA. This was then transmitted, at which point the operator would turn the rotors to his message settings, EIN in this example, and then type the plaintext of the message.
At the receiving end, the operator set the machine to the initial settings (AOH) and typed in the first six letters of the message (XHTLOA). In this example, EINEIN emerged on the lamps, so the operator would learn the message setting that the sender used to encrypt this message. The receiving operator would set his rotors to EIN, type in the rest of the ciphertext, and get the deciphered message.
This indicator scheme had two weaknesses. First, the use of a global initial position (Grundstellung) meant all message keys used the same polyalphabetic substitution. In later indicator procedures, the operator selected his initial position for encrypting the indicator and sent that initial position in the clear. The second problem was the repetition of the indicator, which was a serious security flaw. The message setting was encoded twice, resulting in a relation between first and fourth, second and fifth, and third and sixth character. These security flaws enabled the Polish Cipher Bureau to break into the pre-war Enigma system as early as 1932. The early indicator procedure was subsequently described by German cryptanalysts as the "faulty indicator technique".[34]
During World War II, codebooks were only used each day to set up the rotors, their ring settings and the plugboard. For each message, the operator selected a random start position, let's say WZA, and a random message key, perhaps SXT. He moved the rotors to the WZA start position and encoded the message key SXT. Assume the result was UHL. He then set up the message key, SXT, as the start position and encrypted the message. Next, he transmitted the start position, WZA, the encoded message key, UHL, and then the ciphertext. The receiver set up the start position according to the first trigram, WZA, and decoded the second trigram, UHL, to obtain the SXT message setting. Next, he used this SXT message setting as the start position to decrypt the message. This way, each ground setting was different and the new procedure avoided the security flaw of double encoded message settings.[35]
This procedure was used by Wehrmacht and Luftwaffe only. The Kriegsmarine procedures on sending messages with the Enigma were far more complex and elaborate. Prior to encryption the message was encoded using the Kurzsignalheft code book. The Kurzsignalheft contained tables to convert sentences into four-letter groups. A great many choices were included, for example, logistic matters such as refuelling and rendezvous with supply ships, positions and grid lists, harbour names, countries, weapons, weather conditions, enemy positions and ships, date and time tables. Another codebook contained the Kenngruppen and Spruchschlüssel: the key identification and message key.[36]
Additional details
[edit]The Army Enigma machine used only the 26 alphabet characters. Punctuation was replaced with rare character combinations. A space was omitted or replaced with an X. The X was generally used as full-stop.
Some punctuation marks were different in other parts of the armed forces. The Wehrmacht replaced a comma with ZZ and the question mark with FRAGE or FRAQ.
The Kriegsmarine replaced the comma with Y and the question mark with UD. The combination CH, as in "Acht" (eight) or "Richtung" (direction), was replaced with Q (AQT, RIQTUNG). Two, three and four zeros were replaced with CENTA, MILLE and MYRIA.
The Wehrmacht and the Luftwaffe transmitted messages in groups of five characters and counted the letters.
The Kriegsmarine used four-character groups and counted those groups.
Frequently used names or words were varied as much as possible. Words like Minensuchboot (minesweeper) could be written as MINENSUCHBOOT, MINBOOT or MMMBOOT. To make cryptanalysis harder, messages were limited to 250 characters. Longer messages were divided into several parts, each using a different message key.[37][38]
Example enciphering process
[edit]The character substitutions by the Enigma machine as a whole can be expressed as a string of letters with each position occupied by the character that will replace the character at the corresponding position in the alphabet. For example, a given machine configuration that enciphered A to L, B to U, C to S, ..., and Z to J could be represented compactly as
LUSHQOXDMZNAIKFREPCYBWVGTJ
and the enciphering of a particular character by that configuration could be represented by highlighting the enciphered character as in
D > LUS(H)QOXDMZNAIKFREPCYBWVGTJ
Since the operation of an Enigma machine enciphering a message is a series of such configurations, each associated with a single character being enciphered, a sequence of such representations can be used to represent the operation of the machine as it enciphers a message. For example, the process of enciphering the first sentence of the main body of the famous "Dönitz message"[39] to
RBBF PMHP HGCZ XTDY GAHG UFXG EWKB LKGJ
can be represented as
0001 F > KGWNT(R)BLQPAHYDVJIFXEZOCSMU CDTK 25 15 16 26 0002 O > UORYTQSLWXZHNM(B)VFCGEAPIJDK CDTL 25 15 16 01 0003 L > HLNRSKJAMGF(B)ICUQPDEYOZXWTV CDTM 25 15 16 02 0004 G > KPTXIG(F)MESAUHYQBOVJCLRZDNW CDUN 25 15 17 03 0005 E > XDYB(P)WOSMUZRIQGENLHVJTFACK CDUO 25 15 17 04 0006 N > DLIAJUOVCEXBN(M)GQPWZYFHRKTS CDUP 25 15 17 05 0007 D > LUS(H)QOXDMZNAIKFREPCYBWVGTJ CDUQ 25 15 17 06 0008 E > JKGO(P)TCIHABRNMDEYLZFXWVUQS CDUR 25 15 17 07 0009 S > GCBUZRASYXVMLPQNOF(H)WDKTJIE CDUS 25 15 17 08 0010 I > XPJUOWIY(G)CVRTQEBNLZMDKFAHS CDUT 25 15 17 09 0011 S > DISAUYOMBPNTHKGJRQ(C)LEZXWFV CDUU 25 15 17 10 0012 T > FJLVQAKXNBGCPIRMEOY(Z)WDUHST CDUV 25 15 17 11 0013 S > KTJUQONPZCAMLGFHEW(X)BDYRSVI CDUW 25 15 17 12 0014 O > ZQXUVGFNWRLKPH(T)MBJYODEICSA CDUX 25 15 17 13 0015 F > XJWFR(D)ZSQBLKTVPOIEHMYNCAUG CDUY 25 15 17 14 0016 O > FSKTJARXPECNUL(Y)IZGBDMWVHOQ CDUZ 25 15 17 15 0017 R > CEAKBMRYUVDNFLTXW(G)ZOIJQPHS CDVA 25 15 18 16 0018 T > TLJRVQHGUCXBZYSWFDO(A)IEPKNM CDVB 25 15 18 17 0019 B > Y(H)LPGTEBKWICSVUDRQMFONJZAX CDVC 25 15 18 18 0020 E > KRUL(G)JEWNFADVIPOYBXZCMHSQT CDVD 25 15 18 19 0021 K > RCBPQMVZXY(U)OFSLDEANWKGTIJH CDVE 25 15 18 20 0022 A > (F)CBJQAWTVDYNXLUSEZPHOIGMKR CDVF 25 15 18 21 0023 N > VFTQSBPORUZWY(X)HGDIECJALNMK CDVG 25 15 18 22 0024 N > JSRHFENDUAZYQ(G)XTMCBPIWVOLK CDVH 25 15 18 23 0025 T > RCBUTXVZJINQPKWMLAY(E)DGOFSH CDVI 25 15 18 24 0026 Z > URFXNCMYLVPIGESKTBOQAJZDH(W) CDVJ 25 15 18 25 0027 U > JIOZFEWMBAUSHPCNRQLV(K)TGYXD CDVK 25 15 18 26 0028 G > ZGVRKO(B)XLNEIWJFUSDQYPCMHTA CDVL 25 15 18 01 0029 E > RMJV(L)YQZKCIEBONUGAWXPDSTFH CDVM 25 15 18 02 0030 B > G(K)QRFEANZPBMLHVJCDUXSOYTWI CDWN 25 15 19 03 0031 E > YMZT(G)VEKQOHPBSJLIUNDRFXWAC CDWO 25 15 19 04 0032 N > PDSBTIUQFNOVW(J)KAHZCEGLMYXR CDWP 25 15 19 05
where the letters following each mapping are the letters that appear at the windows at that stage (the only state changes visible to the operator) and the numbers show the underlying physical position of each rotor.
The character mappings for a given configuration of the machine are in turn the result of a series of such mappings applied by each pass through a component of the machine: the enciphering of a character resulting from the application of a given component's mapping serves as the input to the mapping of the subsequent component. For example, the 4th step in the enciphering above can be expanded to show each of these stages using the same representation of mappings and highlighting for the enciphered character:
G > ABCDEF(G)HIJKLMNOPQRSTUVWXYZ P EFMQAB(G)UINKXCJORDPZTHWVLYS AE.BF.CM.DQ.HU.JN.LX.PR.SZ.VW 1 OFRJVM(A)ZHQNBXPYKCULGSWETDI N 03 VIII 2 (N)UKCHVSMDGTZQFYEWPIALOXRJB U 17 VI 3 XJMIYVCARQOWH(L)NDSUFKGBEPZT D 15 V 4 QUNGALXEPKZ(Y)RDSOFTVCMBIHWJ C 25 β R RDOBJNTKVEHMLFCWZAXGYIPS(U)Q c 4 EVTNHQDXWZJFUCPIAMOR(B)SYGLK β 3 H(V)GPWSUMDBTNCOKXJIQZRFLAEY V 2 TZDIPNJESYCUHAVRMXGKB(F)QWOL VI 1 GLQYW(B)TIZDPSFKANJCUXREVMOH VIII P E(F)MQABGUINKXCJORDPZTHWVLYS AE.BF.CM.DQ.HU.JN.LX.PR.SZ.VW F < KPTXIG(F)MESAUHYQBOVJCLRZDNW
Here the enciphering begins trivially with the first "mapping" representing the keyboard (which has no effect), followed by the plugboard, configured as AE.BF.CM.DQ.HU.JN.LX.PR.SZ.VW which has no effect on 'G', followed by the VIII rotor in the 03 position, which maps G to A, then the VI rotor in the 17 position, which maps A to N, ..., and finally the plugboard again, which maps B to F, producing the overall mapping indicated at the final step: G to F.
This model has 4 rotors (lines 1 through 4) and the reflector (line R) also permutes (garbles) letters.
Models
[edit]The Enigma family included multiple designs. The earliest were commercial models dating from the early 1920s. Starting in the mid-1920s, the German military began to use Enigma, making a number of security-related changes. Various nations either adopted or adapted the design for their own cipher machines.
![]() |
An estimated 40,000 Enigma machines were constructed.[40][41] After the end of World War II, the Allies sold captured Enigma machines, still widely considered secure, to developing countries.[42]
Commercial Enigma
[edit]![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/b/b3/Scherbius-1928-patent.png/320px-Scherbius-1928-patent.png)
On 23 February 1918,[43] Arthur Scherbius applied for a patent for a ciphering machine that used rotors.[44] Scherbius and E. Richard Ritter founded the firm of Scherbius & Ritter. They approached the German Navy and Foreign Office with their design, but neither agency was interested. Scherbius & Ritter then assigned the patent rights to Gewerkschaft Securitas, who founded the Chiffriermaschinen Aktien-Gesellschaft (Cipher Machines Stock Corporation) on 9 July 1923; Scherbius and Ritter were on the board of directors.
Enigma Handelsmaschine (1923)
[edit]Chiffriermaschinen AG began advertising a rotor machine, Enigma Handelsmaschine, which was exhibited at the Congress of the International Postal Union in 1924. The machine was heavy and bulky, incorporating a typewriter. It measured 65×45×38 cm and weighed about 50 kilograms (110 lb).
Schreibende Enigma (1924)
[edit]This was also a model with a type writer. There were a number of problems associated with the printer and the construction was not stable until 1926. Both early versions of Enigma lacked the reflector and had to be switched between enciphering and deciphering.
Glühlampenmaschine, Enigma A (1924)
[edit]The reflector, suggested by Scherbius' colleague Willi Korn,[26] was introduced with the glow lamp version.
The machine was also known as the military Enigma. It had two rotors and a manually rotatable reflector. The typewriter was omitted and glow lamps were used for output. The operation was somewhat different from later models. Before the next key pressure, the operator had to press a button to advance the right rotor one step.
Enigma B (1924)
[edit]![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/a/af/Enigma-Gl%C3%BChl%C3%A4mpchen.jpg/170px-Enigma-Gl%C3%BChl%C3%A4mpchen.jpg)
Enigma model B was introduced late in 1924, and was of a similar construction.[45] While bearing the Enigma name, both models A and B were quite unlike later versions: They differed in physical size and shape, but also cryptographically, in that they lacked the reflector. This model of Enigma machine was referred to as the Glowlamp Enigma or Glühlampenmaschine since it produced its output on a lamp panel rather than paper. This method of output was much more reliable and cost effective. Hence this machine was 1/8th the price of its predecessor.[21]
Enigma C (1926)
[edit]Model C was the third model of the so-called ″glowlamp Enigmas″ (after A and B) and it again lacked a typewriter.[21]
Enigma D (1927)
[edit]The Enigma C quickly gave way to Enigma D (1927). This version was widely used, with shipments to Sweden, the Netherlands, United Kingdom, Japan, Italy, Spain, United States and Poland. In 1927 Hugh Foss at the British Government Code and Cypher School was able to show that commercial Enigma machines could be broken, provided suitable cribs were available.[46] Soon, the Enigma D would pioneer the use of a standard keyboard layout to be used in German computing. This "QWERTZ" layout is very similar to the American QWERTY keyboard format used in many languages.
"Navy Cipher D"
[edit]Other countries used Enigma machines. The Italian Navy adopted the commercial Enigma as "Navy Cipher D". The Spanish also used commercial Enigma machines during their Civil War. British codebreakers succeeded in breaking these machines, which lacked a plugboard.[47] Enigma machines were also used by diplomatic services.
Enigma H (1929)
[edit]![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/b/be/Enigma-8-rotor.jpg/170px-Enigma-8-rotor.jpg)
There was also a large, eight-rotor printing model, the Enigma H, called Enigma II by the Reichswehr. In 1933 the Polish Cipher Bureau detected that it was in use for high-level military communication, but it was soon withdrawn, as it was unreliable and jammed frequently.[48]
Enigma K
[edit]The Swiss used a version of Enigma called Model K or Swiss K for military and diplomatic use, which was very similar to commercial Enigma D. The machine's code was cracked by Poland, France, the United Kingdom and the United States; the latter code-named it INDIGO. An Enigma T model, code-named Tirpitz, was used by Japan.
Military Enigma
[edit]The various services of the Wehrmacht used various Enigma versions, and replaced them frequently, sometimes with ones adapted from other services. Enigma seldom carried high-level strategic messages, which when not urgent went by courier, and when urgent went by other cryptographic systems including the Geheimschreiber.
Funkschlüssel C
[edit]The Reichsmarine was the first military branch to adopt Enigma. This version, named Funkschlüssel C ("Radio cipher C"), had been put into production by 1925 and was introduced into service in 1926.[49]
The keyboard and lampboard contained 29 letters — A-Z, Ä, Ö and Ü — that were arranged alphabetically, as opposed to the QWERTZUI ordering.[50] The rotors had 28 contacts, with the letter X wired to bypass the rotors unencrypted.[18] Three rotors were chosen from a set of five[51] and the reflector could be inserted in one of four different positions, denoted α, β, γ and δ.[52] The machine was revised slightly in July 1933.[53]
Enigma G (1928–1930)
[edit]By 15 July 1928,[54] the German Army (Reichswehr) had introduced their own exclusive version of the Enigma machine, the Enigma G.
The Abwehr used the Enigma G. This Enigma variant was a four-wheel unsteckered machine with multiple notches on the rotors. This model was equipped with a counter that incremented upon each key press, and so is also known as the "counter machine" or the Zählwerk Enigma.
Wehrmacht Enigma I (1930–1938)
[edit]Enigma machine G was modified to the Enigma I by June 1930.[55] Enigma I is also known as the Wehrmacht, or "Services" Enigma, and was used extensively by German military services and other government organisations (such as the railways[56]) before and during World War II.
![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/c/c7/Bundesarchiv_Bild_101I-769-0229-10A%2C_Frankreich%2C_Guderian%2C_%22Enigma%22_cropped.jpg/170px-Bundesarchiv_Bild_101I-769-0229-10A%2C_Frankreich%2C_Guderian%2C_%22Enigma%22_cropped.jpg)
The major difference between Enigma I (German Army version from 1930), and commercial Enigma models was the addition of a plugboard to swap pairs of letters, greatly increasing cryptographic strength.
Other differences included the use of a fixed reflector and the relocation of the stepping notches from the rotor body to the movable letter rings. The machine measured 28 cm × 34 cm × 15 cm (11.0 in × 13.4 in × 5.9 in) and weighed around 12 kg (26 lb).[57]
In August 1935, the Air Force introduced the Wehrmacht Enigma for their communications.[55]
M3 (1934)
[edit]By 1930, the Reichswehr had suggested that the Navy adopt their machine, citing the benefits of increased security (with the plugboard) and easier interservice communications.[58] The Reichsmarine eventually agreed and in 1934[59] brought into service the Navy version of the Army Enigma, designated Funkschlüssel ' or M3. While the Army used only three rotors at that time, the Navy specified a choice of three from a possible five.[60]
![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/7/74/Bundesarchiv_Bild_101I-241-2173-09%2C_Russland%2C_Verschl%C3%BCsselungsger%C3%A4t_Enigma.jpg/220px-Bundesarchiv_Bild_101I-241-2173-09%2C_Russland%2C_Verschl%C3%BCsselungsger%C3%A4t_Enigma.jpg)
Two extra rotors (1938)
[edit]In December 1938, the Army issued two extra rotors so that the three rotors were chosen from a set of five.[55] In 1938, the Navy added two more rotors, and then another in 1939 to allow a choice of three rotors from a set of eight.[60]
M4 (1942)
[edit]A four-rotor Enigma was introduced by the Navy for U-boat traffic on 1 February 1942, called M4 (the network was known as Triton, or Shark to the Allies). The extra rotor was fitted in the same space by splitting the reflector into a combination of a thin reflector and a thin fourth rotor.
-
Enigma G, used by the Abwehr, had four rotors, no plugboard, and multiple notches on the rotors.
-
The German-made Enigma-K used by the Swiss Army had three rotors and a reflector, but no plugboard. It had locally re-wired rotors and an additional lamp panel.
-
An Enigma model T (Tirpitz), a modified commercial Enigma K manufactured for use by the Japanese.
-
An Enigma machine in the UK's Imperial War Museum
-
Enigma in use in Russia
-
Enigma in radio car of the 7th Panzer Div. staff, August 1941
Surviving machines
[edit]![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/0/0e/Enigma_and_Decoder_%28from_above%29_at_Discovery_Park_of_America.jpg/220px-Enigma_and_Decoder_%28from_above%29_at_Discovery_Park_of_America.jpg)
The effort to break the Enigma was not disclosed until the 1970s. Since then, interest in the Enigma machine has grown. Enigmas are on public display in museums around the world, and several are in the hands of private collectors and computer history enthusiasts.[61]
The Deutsches Museum in Munich has both the three- and four-rotor German military variants, as well as several civilian versions. The Deutsches Spionagemuseum in Berlin also showcases two military variants.[62] Enigma machines are also exhibited at the National Codes Centre in Bletchley Park, the Government Communications Headquarters, the Science Museum in London, Discovery Park of America in Tennessee, the Polish Army Museum in Warsaw, the Swedish Army Museum (Armémuseum) in Stockholm, the Military Museum of A Coruña in Spain, the Nordland Red Cross War Memorial Museum in Narvik,[63] Norway, The Artillery, Engineers and Signals Museum in Hämeenlinna, Finland[64] the Technical University of Denmark in Lyngby, Denmark, in Skanderborg Bunkerne at Skanderborg, Denmark, and at the Australian War Memorial and in the foyer of the Australian Signals Directorate, both in Canberra, Australia. The Jozef Pilsudski Institute in London exhibited a rare Polish Enigma double assembled in France in 1940.[65][66] In 2020, thanks to the support of the Ministry of Culture and National Heritage, it became the property of the Polish History Museum.[67]
![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/7/7f/Kriegsmarine_Enigma.png/170px-Kriegsmarine_Enigma.png)
In the United States, Enigma machines can be seen at the Computer History Museum in Mountain View, California, and at the National Security Agency's National Cryptologic Museum in Fort Meade, Maryland, where visitors can try their hand at enciphering and deciphering messages. Two machines that were acquired after the capture of U-505 during World War II are on display alongside the submarine at the Museum of Science and Industry in Chicago, Illinois. A three-rotor Enigma is on display at Discovery Park of America in Union City, Tennessee. A four-rotor device is on display in the ANZUS Corridor of the Pentagon on the second floor, A ring, between corridors 8 and 9. This machine is on loan from Australia. The United States Air Force Academy in Colorado Springs has a machine on display in the Computer Science Department. There is also a machine located at The National WWII Museum in New Orleans. The International Museum of World War II near Boston has seven Enigma machines on display, including a U-boat four-rotor model, one of three surviving examples of an Enigma machine with a printer, one of fewer than ten surviving ten-rotor code machines, an example blown up by a retreating German Army unit, and two three-rotor Enigmas that visitors can operate to encode and decode messages. Computer Museum of America in Roswell, Georgia has a three-rotor model with two additional rotors. The machine is fully restored and CMoA has the original paperwork for the purchase on 7 March 1936 by the German Army. The National Museum of Computing also contains surviving Enigma machines in Bletchley, England.[68]
![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/3/3c/Muzeum_2_Wojny_Swiatowej_Gdansk_Enigma_cipher_machine.jpg/220px-Muzeum_2_Wojny_Swiatowej_Gdansk_Enigma_cipher_machine.jpg)
In Canada, a Swiss Army issue Enigma-K, is in Calgary, Alberta. It is on permanent display at the Naval Museum of Alberta inside the Military Museums of Calgary. A four-rotor Enigma machine is on display at the Military Communications and Electronics Museum at Canadian Forces Base (CFB) Kingston in Kingston, Ontario.
Occasionally, Enigma machines are sold at auction; prices have in recent years ranged from US$40,000[69][70] to US$547,500[71] in 2017. Replicas are available in various forms, including an exact reconstructed copy of the Naval M4 model, an Enigma implemented in electronics (Enigma-E), various simulators and paper-and-scissors analogues.
A rare Abwehr Enigma machine, designated G312, was stolen from the Bletchley Park museum on 1 April 2000. In September, a man identifying himself as "The Master" sent a note demanding £25,000 and threatening to destroy the machine if the ransom was not paid. In early October 2000, Bletchley Park officials announced that they would pay the ransom, but the stated deadline passed with no word from the blackmailer. Shortly afterward, the machine was sent anonymously to BBC journalist Jeremy Paxman, missing three rotors.
![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/commons/thumb/2/27/LGD_8293-2.jpg/220px-LGD_8293-2.jpg)
In November 2000, an antiques dealer named Dennis Yates was arrested after telephoning The Sunday Times to arrange the return of the missing parts. The Enigma machine was returned to Bletchley Park after the incident. In October 2001, Yates was sentenced to ten months in prison and served three months.[72]
In October 2008, the Spanish daily newspaper El País reported that 28 Enigma machines had been discovered by chance in an attic of Army headquarters in Madrid. These four-rotor commercial machines had helped Franco's Nationalists win the Spanish Civil War, because, though the British cryptologist Alfred Dilwyn Knox in 1937 broke the cipher generated by Franco's Enigma machines, this was not disclosed to the Republicans, who failed to break the cipher. The Nationalist government continued using its 50 Enigmas into the 1950s. Some machines have gone on display in Spanish military museums,[73][74] including one at the National Museum of Science and Technology (MUNCYT) in La Coruña and one at the Spanish Army Museum. Two have been given to Britain's GCHQ.[75]
The Bulgarian military used Enigma machines with a Cyrillic keyboard; one is on display in the National Museum of Military History in Sofia.[76]
On 3 December 2020, German divers working on behalf of the World Wide Fund for Nature discovered a destroyed Enigma machine in Flensburg Firth (part of the Baltic Sea) which is believed to be from a scuttled U-boat.[77] This Enigma machine will be restored by and be the property of the Archaeology Museum of Schleswig Holstein.[78]
An M4 Enigma was salvaged in the 1980s from the German minesweeper R15, which was sunk off the Istrian coast in 1945. The machine was put on display in the Pivka Park of Military History in Slovenia on 13 April 2023.[79]
Derivatives
[edit]The Enigma was influential in the field of cipher machine design, spinning off other rotor machines. Once the British discovered Enigma's principle of operation, they created the Typex rotor cipher, which the Germans believed to be unsolvable.[80] Typex was originally derived from the Enigma patents;[81] Typex even includes features from the patent descriptions that were omitted from the actual Enigma machine. The British paid no royalties for the use of the patents.[81] In the United States, cryptologist William Friedman designed the M-325 machine,[82] starting in 1936,[83] that is logically similar.[84]
Machines like the SIGABA, NEMA, Typex, and so forth, are not considered to be Enigma derivatives as their internal ciphering functions are not mathematically identical to the Enigma transform.
A unique rotor machine called Cryptograph was constructed in 2002 by Netherlands-based Tatjana van Vark. This device makes use of 40-point rotors, allowing letters, numbers and some punctuation to be used; each rotor contains 509 parts.[85]
-
A Japanese Enigma clone, codenamed GREEN by American cryptographers.
-
Tatjana van Vark's Enigma-inspired rotor machine.
-
Electronic implementation of an Enigma machine, sold at the Bletchley Park souvenir shop
Simulators
[edit]See also
[edit]- Alastair Denniston
- Arlington Hall
- Arne Beurling
- Beaumanor Hall, a stately home used during the Second World War for military intelligence
- Cryptanalysis of the Enigma
- Erhard Maertens—investigated Enigma security
- Erich Fellgiebel
- ECM Mark II—cipher machine used by the Americans in the Second World War
- Fritz Thiele
- Gisbert Hasenjaeger—responsible for Enigma security
- United States Naval Computing Machine Laboratory
- Typex—cipher machine used by the British in the Second World War, based on the principles of the commercial Enigma machine
Explanatory notes
[edit]- ^ Much of the German cipher traffic was encrypted on the Enigma machine, and the term "Ultra" has often been used almost synonymously with "Enigma decrypts". Ultra also encompassed decrypts of the German Lorenz SZ 40 and 42 machines that were used by the German High Command, and decrypts of Hagelin ciphers and other Italian ciphers and codes, as well as of Japanese ciphers and codes such as Purple and JN-25.
References
[edit]Citations
[edit]- ^ "EnigmaHistory". cryptomuseum.com. Retrieved 16 December 2020.
- ^ Comer 2021.
- ^ Keegan, John, Sir (2003). Intelligence in War. New York: Alfred A. Knopf.
{{cite book}}
: CS1 maint: multiple names: authors list (link) - ^ Singh, Simon (26 January 2011). The Code Book: The Science of Secrecy from Ancient Egypt to Quantum Cryptography. Knopf Doubleday Publishing Group. ISBN 978-0-307-78784-2.
- ^ "History of the Enigma". Crypto Museum. Retrieved 1 December 2017.
- ^ Lord, Bob (1998–2010). "Enigma Manual". Retrieved 31 May 2011.
- ^ Hamer, David H.; Sullivan, Geoff; Weierud, Frode (July 1998). "Enigma Variations: An Extended Family of Machines" (PDF). Cryptologia. XXII (3): 211–229. doi:10.1080/0161-119891886885. ISSN 0161-1194. Retrieved 18 February 2016.
- ^ "Four Rotor Enigma Machine". International Spy Museum. Retrieved 21 February 2023.
- ^ a b Rejewski 1980.
- ^ Vázquez & Jiménez–Seral 2018.
- ^ Władysław Kozaczuk, Enigma: How the German Machine Cipher was Broken, and how it was Read by the Allies in World War Two, edited and translated by Christopher Kasparek, Frederick, Maryland, University Publications of America, 1984, ISBN 978-0-89093-547-7, p. 21.
- ^ Kozaczuk 1984, p. 63.
- ^ Erskine 2006, pp. 294–305.
- ^ Kozaczuk 1984, pp. 59–60, 236.
- ^ Kozaczuk 1984, pp. 69–94.
- ^ Welchman 1982, p. 289.
- ^ Kahn 1991.
- ^ a b Stripp 1993.
- ^ a b Rankin, Nicholas (2011). Ian Fleming's Commandos: The Story of 30 Assault Unit in WWII. Oxford University Press. ISBN 978-0199782826.
- ^ "German Cipher Machines of World War II" (PDF). Center for Cryptologic History. National Security Agency. 2014. pp. 22–25. Archived from the original (PDF) on 14 May 2023. Retrieved 21 January 2024.
- ^ a b c d "Enigma History". cryptomuseum.com. Retrieved 16 December 2020.
- ^ a b c Rijmenants, Dirk; Technical details of the Enigma machine Cipher Machines & Cryptology
- ^ a b c Hamer, David (January 1997). "Enigma: Actions Involved in the 'Double-Stepping' of the Middle Rotor". Cryptologia. 21 (1): 47–50. doi:10.1080/0161-119791885779. Archived from the original (zip) on 19 July 2011.
- ^ Sale, Tony. "Technical specifications of the Enigma rotors". Technical Specification of the Enigma. Retrieved 15 November 2009.
- ^ "Lückenfüllerwalze". Cryptomuseum.com. Retrieved 17 July 2012.
- ^ a b De Leeuw, Karl Maria Michael; Bergstra, J A (2007). The history of information security : a comprehensive handbook. Amsterdam: Elsevier. p. 393. ISBN 9780080550589.
- ^ Marks & Weierud 2000.
- ^ Marks 2001, pp. 101–141.
- ^ Craig P. Bauer: Secret History – The Story of Cryptology. CRC Press, Boca Raton 2013, p. 248. ISBN 978-1-4665-6186-1.
- ^ a b Van Manen, Dirk-Jan; Johan O. A., Robertsson (2016). "Codes and Ciphers". Geo ExPro. Retrieved 13 October 2023.
- ^ Reuvers, Paul (2008). "Enigma accessories". Retrieved 22 July 2010.
- ^ Miller, A. Ray (January 1995). "The cryptographic mathematics of Enigma". Cryptologia. 19 (1): 65–80. doi:10.1080/0161-119591883773.
- ^ Friedman, W.F. (1922). The index of coincidence and its applications in cryptology. Department of Ciphers. Publ 22. Geneva, Illinois, USA: Riverbank Laboratories. OCLC 55786052.
- ^ Huttenhain & Fricke 1945, pp. 4, 5.
- ^ Rijmenants, Dirk; Enigma message procedures Cipher Machines & Cryptology
- ^ Rijmenants, Dirk; Kurzsignalen on German U-boats Cipher Machines & Cryptology
- ^ "The translated 1940 Enigma General Procedure". codesandciphers.org.uk. Retrieved 16 October 2006.
- ^ "The translated 1940 Enigma Officer and Staff Procedure". codesandciphers.org.uk. Retrieved 16 October 2006.
- ^ "Message from Dönitz — 1 May 1945". Retrieved 27 November 2018.
- ^ Bauer 2000, p. 123.
- ^ Reichswehr and Wehrmacht Enigma Orders Archived 29 June 2021 at the Wayback Machine in Frode Weierud’s CryptoCellar, accessed 29 June 2021.
- ^ Bauer 2000, p. 112.
- ^ "German patent No. 416219 from 23 February 1918" (PDF).
- ^ US 1657411, Scherbius, Arthur, "Ciphering Machine", issued 24 January 1928, assigned to Chiffriermaschinen AG
- ^ "image of Enigma Type B". Archived from the original on 21 October 2005.
- ^ Bletchley Park Trust Museum display
- ^ Smith 2006, p. 23.
- ^ Kozaczuk 1984, p. 28.
- ^ Kahn 1991, pp. 39–41, 299.
- ^ Ulbricht 2005, p. 4.
- ^ Kahn 1991, pp. 40, 299.
- ^ Bauer 2000, p. 108.
- ^ Stripp 1993, plate 3.
- ^ Kahn 1991, pp. 41, 299.
- ^ a b c Kruh & Deavours 2002, p. 97.
- ^ Smith 2000, p. 73.
- ^ Stripp 1993, p. 83.
- ^ Kahn 1991, p. 43.
- ^ Kahn 1991, p. 43 says August 1934. Kruh & Deavours 2002, p. 15 say October 2004.
- ^ a b Kruh & Deavours 2002, p. 98.
- ^ Ng, David. "Enigma machine from World War II finds unlikely home in Beverly Hills". Los Angeles Times. 22 January 2015.
- ^ "Enigma-Maschine: Die Entschlüsselung der Chiffriermaschine". Deutsches Spionagemuseum (in German). Retrieved 3 February 2024.
- ^ "War Museum".
- ^ "The National Signals Museum".
- ^ "Enigma exhibition in London pays tribute to Poles". Polskie Radio dla Zagranicy. Archived from the original on 23 April 2016. Retrieved 5 April 2016.
- ^ "13 March 2016, 'Enigma Relay'– how Poles passed the baton to Brits in the run for WWII victory". J. Piłsudski Institute in London. Archived from the original on 22 April 2016. Retrieved 5 April 2016.
- ^ "Enigma w kolekcji MHP - Muzeum Historii Polski". Archived from the original on 11 November 2021. Retrieved 11 November 2021.
- ^ "The National Museum of Computing". The National Museum of Computing. Retrieved 16 December 2020.
- ^ Hamer, David; Enigma machines – known locations* Archived 4 November 2011 at the Wayback Machine
- ^ Hamer, David; Selling prices of Enigma and NEMA – all prices converted to US$ Archived 27 September 2011 at the Wayback Machine
- ^ Christi's; 4 Rotor enigma auction
- ^ "Man jailed over Enigma machine". BBC News. 19 October 2001. Retrieved 2 May 2010.
- ^ Graham Keeley. Nazi Enigma machines helped General Franco in Spanish Civil War, The Times, 24 October 2008, p. 47.
- ^ "Taller de Criptografía – Enigmas españolas". Cripto.es. Archived from the original on 11 June 2013. Retrieved 8 September 2013.
- ^ "Schneier on Security: Rare Spanish Enigma Machine". Schneier.com. 26 March 2012. Retrieved 8 September 2013.
- ^ "Communication equipment". znam.bg. 29 November 2003. Archived from the original on 13 January 2015. Retrieved 13 January 2015.
- ^ "Divers discover Nazi WW2 enigma machine in Baltic Sea". Reuters. 3 December 2020. Archived from the original on 3 December 2020. Retrieved 3 December 2020.
- ^ Welle (www.dw.com), Deutsche. "German divers hand over Enigma encryption machine in Baltic | DW | 04.12.2020". DW.COM.
- ^ "Revealing of Enigma in the Park of Military History Pivka". 13 April 2023.
- ^ Ferris, John Robert (2005). Intelligence and strategy : selected essays. Cass series - Studies in intelligence. New York, NY: F. Cass. p. 165. ISBN 978-0415361958. OCLC 243558411.
- ^ a b Greenberg, Joel (2014). Gordon Welchman: Bletchley Park's architect of ultra intelligence. London: Pen & Sword Books Ltd. p. 85. ISBN 9781473885257. OCLC 1023312315.
- ^ Karl Maria Michael de Leeuw; Jan Bergstra (28 August 2007). The History of Information Security: A Comprehensive Handbook. Elsevier Science. pp. 407–. ISBN 978-0-08-055058-9.
- ^ Mucklow, Timothy (2015). The SIGABA / ECM II Cipher Machine: "A Beautiful Idea (PDF). Fort George G. Meade, MD: Center for Cryptologic History, NSA. p. 16.
- ^ Bauer, Friedrich Ludwig (2007). Decrypted secrets: methods and maxims of cryptology (4th revision and extended ed.). Berlin: Springer. p. 133. ISBN 9783540245025. OCLC 255507974.
- ^ van Vark, Tatjana The coding machine
General and cited references
[edit]- Bauer, F. L. (2000). Decrypted Secrets (2nd ed.). Springer. ISBN 978-3-540-66871-8.
- Comer, Tony (27 January 2021). "Poland's Decisive Role in Cracking Enigma and Transforming the UK's SIGINT Operations". Commentary. RUSI. Retrieved 20 April 2022.
- Erskine, Ralph (December 2006). "The Poles Reveal their Secrets: Alastair Denniston's Account of the July 1939 Meeting at Pyry". Cryptologia. 30 (4). Philadelphia, Pennsylvania: 294–305. doi:10.1080/01611190600920944. S2CID 13410460.
- Huttenhain, Orr; Fricke (1945). "OKW/Chi Cryptanalytic Research on Enigma, Hagelin and Cipher Teleprinter Messages". TICOM.
- Kahn, David (1991). Seizing the Enigma: The Race to Break the German U-Boats Codes, 1939–1943. Houghton Mifflin Company. ISBN 978-0-395-42739-2.
- Kozaczuk, Władysław (1984). Kasparek, Christopher (ed.). Enigma: How the German Machine Cipher Was Broken, and How It Was Read by the Allies in World War Two. Frederick, MD: University Publications of America. ISBN 978-0-89093-547-7.
- Kozaczuk, Władysław. "The origins of the Enigma/ULTRA". Archived from the original on 17 July 2003.
- Kruh, L.; Deavours, C. (2002). "The Commercial Enigma: Beginnings of Machine Cryptography". Cryptologia. 26: 1–16. doi:10.1080/0161-110291890731. S2CID 41446859.
- Marks, Philip (April 2001). "Umkehrwalze D: Enigma's Rewirable Reflector - Part I". Cryptologia. 25 (2): 101–141. doi:10.1080/0161-110191889842. ISSN 0161-1194. S2CID 11111300.
- Marks, Philip; Weierud, Frode (2000). "Recovering the Wiring of Enigma's Umkehrwalze A" (PDF). Cryptologia. 24 (1): 55–66. CiteSeerX 10.1.1.622.1584. doi:10.1080/0161-110091888781. S2CID 4473786. Archived from the original (PDF) on 13 February 2012.
- Rejewski, Marian (1980). "An Application of the Theory of Permutations in Breaking the Enigma Cipher" (PDF). Applicationes Mathematicae. 16 (4): 543–559. doi:10.4064/am-16-4-543-559. ISSN 1730-6280.
- Smith, Michael (2000). Station X: The Codebreakers of Bletchley Park. Pan. ISBN 978-0-7522-7148-4.
- Smith, Michael (2006). "How it began: Bletchley Park Goes to War". In Copeland, B Jack (ed.). Colossus: The Secrets of Bletchley Park's Codebreaking Computers. Oxford: Oxford University Press. ISBN 978-0-19-284055-4.
- Stripp, Alan (1993). Hinsley, F. H.; Stripp, Alan (eds.). The Enigma Machine: Its Mechanism and Use.
{{cite book}}
:|work=
ignored (help) - Ulbricht, Heinz (2005). Die Chiffriermaschine Enigma — Trügerische Sicherheit: Ein Beitrag zur Geschichte der Nachrichtendienste [The Enigma Cipher Machine — Deceptive Security: A contribution to the history of intelligence services] (PDF) (Thesis). PhD Thesis (in German). Universitätsbibliothek Braunschweig. doi:10.24355/dbbs.084-200511080100-324.
- Vázquez, Manuel; Jiménez–Seral, Paz (4 March 2018). "Recovering the military Enigma using permutations—filling in the details of Rejewski's solution". Cryptologia. 42 (2): 106–134. doi:10.1080/01611194.2016.1257522. S2CID 4451333.
- Welchman, Gordon (1982). The Hut Six Story: Breaking the Enigma Codes. McGraw-Hill. ISBN 978-0-07-069180-3.
Further reading
[edit]- Aldrich, Richard James (2010). GCHQ: The Uncensored Story of Britain's Most Secret Intelligence Agency. HarperPress. ISBN 978-0-00-727847-3.
- Bertrand, Gustave (1973). Enigma: ou, La plus grande énigme de la guerre 1939–1945. Plon.
- Calvocoressi, Peter (2001). Top Secret Ultra. M & M Baldwin. pp. 98–103. ISBN 978-0-947712-41-9.
- Grime, James. "The Enigma Flaw". Numberphile. Brady Haran. Archived from the original on 30 March 2013. Retrieved 7 April 2013.
- Heath, Nick, Hacking the Nazis: The secret story of the women who broke Hitler's codes TechRepublic, 27 March 2015
- Herivel, John (2008). Herivelismus: And the German Military Enigma. M & M Baldwin.
- Keen, John (1 August 2012). Harold 'Doc' Keen and the Bletchley Park Bombe. M & M Baldwin. ISBN 978-0-947712-48-8.
- Large, Christine (6 October 2003). Hijacking Enigma: The Insider's Tale. Wiley. ISBN 978-0-470-86346-6.
- Marks, Philip. "Umkehrwalze D: Enigma's Rewirable Reflector — Part I", Cryptologia 25(2), April 2001, pp. 101–141.
- Marks, Philip. "Umkehrwalze D: Enigma's Rewirable Reflector — Part II", Cryptologia 25(3), July 2001, pp. 177–212.
- Marks, Philip. "Umkehrwalze D: Enigma's Rewirable Reflector — Part III", Cryptologia 25(4), October 2001, pp. 296–310.
- Paillole, Paul (1985). Notre espion chez Hitler [Our Spy with Hitler] (in French). Robert Laffont.
- Perera, Tom (2010). Inside ENIGMA. Bedford, UK: Radio Society of Great Britain. ISBN 978-1-905086-64-1.
- Perera, Tom. The Story of the ENIGMA: History, Technology and Deciphering, 2nd Edition, CD-ROM, 2004, Artifax Books, ISBN 1-890024-06-6 sample pages
- Rebecca Ratcliffe: Searching for Security. The German Investigations into Enigma's security. In: Intelligence and National Security 14 (1999) Issue 1 (Special Issue) S. 146–167.
- Ratcliffe, Rebecca (1 January 2005). Winkel, Brian J. (ed.). How Statistics led the Germans to believe Enigma Secure and Why They Were Wrong: neglecting the practical Mathematics of Cipher machines. Artech House. ISBN 978-1-58053-996-8.
{{cite book}}
:|work=
ignored (help) - Rejewski, Marian. "How Polish Mathematicians Deciphered the Enigma" Archived 4 October 2011 at the Wayback Machine, Annals of the History of Computing 3, 1981. This article is regarded by Andrew Hodges, Alan Turing's biographer, as "the definitive account" (see Hodges' Alan Turing: The Enigma, Walker and Company, 2000 paperback edition, p. 548, footnote 4.5).
- Quirantes, Arturo (April 2004). "Model Z: A Numbers-Only Enigma Version". Cryptologia. 28 (2): 153–156. doi:10.1080/0161-110491892845. S2CID 44319455.
- Sebag-Montefiore, Hugh (2011). Enigma: The Battle for the Code. Orion. ISBN 978-1-78022-123-6.
- Ulbricht, Heinz. Enigma Uhr, Cryptologia, 23(3), April 1999, pp. 194–205.
- Turing, Dermot (2018). X, Y & Z: The Real Story of How Enigma Was Broken. Gloustershire England: History Press. ISBN 978-0-7509-8782-0. OCLC 1029570490.
- Winterbotham, F. W. (1999). The Ultra Secret. Weidenfeld & Nicolson. ISBN 978-0-297-64405-7.
- Untold Story of Enigma Code-Breaker — The Ministry of Defence (U.K.)
External links
[edit]![](http://178.128.105.246/cars-http-upload.wikimedia.org/wikipedia/en/thumb/4/4a/Commons-logo.svg/30px-Commons-logo.svg.png)
- Gordon Corera, Poland's overlooked Enigma codebreakers, BBC News Magazine, 4 July 2014
- Long-running list of places with Enigma machines on display
- Bletchley Park National Code Centre Home of the British codebreakers during the Second World War Archived 9 December 2009 at the Wayback Machine
- Enigma machines on the Crypto Museum Web site
- Pictures of a four-rotor naval enigma, including Flash (SWF) views of the machine Archived 24 July 2011 at the Wayback Machine
- Enigma Pictures and Demonstration by NSA Employee at RSA
- Enigma machine at Curlie
- Kenngruppenheft
- Process of building an Enigma M4 replica Archived 18 March 2013 at the Wayback Machine
- Breaking German Navy Ciphers