The Enigma Machine
How the German Cipher Worked and How It Was Broken
- 20 chapters
- 41m
- World War II
- Free · no sign-up
Polish mathematicians like Rejewski broke the code using mathematical analysis. British codebreakers at Bletchley Park built machines called bombes to find daily keys. The process involved stepping rotors, turnover mechanisms, and indicator systems. Operators used the Schreibmax device for enciphering messages.
Ultra intelligence from breaking Enigma helped win the war without revealing the break. The Wehrmacht Enigma I and Funkschlüssel C models had different settings. Surviving machines show how the system evolved over time. Anyone interested in cryptography or World War II will find this detailed explanation worth their time.
Listen
-
Read this chapter
Arthur Scherbius, a German engineer, invented the Enigma machine at the end of World War I. His company, Scherbius & Ritter, received a patent for the cipher device in 1918 and began selling it under the brand name Enigma in 1923. Initially aimed at commercial users, the machine was adopted by military and government services, especially Nazi Germany before and during World War II. Early versions were used commercially from the early 1920s.
The Enigma machine had several models, but it was the versions used by the German military—especially those with a plugboard—that were the most complex. The German Navy adopted a modified version in 1926, followed quickly by the Army and Air Force. That adoption brought the name Enigma into widespread use within military circles. Before the war, German military strategy focused on fast, mobile forces known as blitzkrieg, which relied heavily on radio communication for command and coordination. Because enemy forces were likely to intercept those signals, messages needed strong encryption. The Enigma machine was compact and portable, making it ideal for this purpose.
-
Read this chapter
In 1932, Hans-Thilo Schmidt, a German spy for the French, provided Polish cryptologists with daily Enigma keys from September and October. Using this material, Marian Rejewski, along with Jerzy Różycki and Henryk Zygalski, broke the plugboard settings and figured out the rotor wiring. By January 1933, the Polish Cipher Bureau could read German Enigma messages. Over time, the Germans improved their system, but the Poles kept pace, inventing tools like the cyclometer and the bomba to decode traffic. By 1938, they had six bomby, though adding two more rotors would have required ten times as many.
In July 1939, Polish cryptologists shared their Enigma-breaking methods with British and French intelligence at a meeting in Pyry, south of Warsaw. They handed over tools like Zygalski sheets and the cryptologic bomb, and promised to deliver reconstructed Enigmas, which were soon sent. Later that September, British Military Mission 4, including Colin Gubbins and Vera Atkins, traveled to Poland hoping to rescue key cipher-breakers Marian Rejewski, Jerzy Różycki, and Henryk Zygalski. But the Polish Cipher Bureau had already evacuated them to Romania, a country allied with Poland at the time. For safety, the team destroyed their materials on the way and then moved on to France, where they continued working with the British using the Polish techniques and equipment.
After the fall of the Spanish Republic in 1939, Antonio Camazón and six other Spanish cryptographers found refuge in France, where they were recruited by Gustave Bertrand of French intelligence. They joined the PC Bruno centre near Paris, working with Polish analysts to study Enigma-encrypted messages and adjust Polish techniques for decryption. During the Norwegian campaign, which lasted from April 8 to June 10, 1940, three complete Enigma machines from the German Army and Luftwaffe were captured. These were soon put into use at Bletchley Park, the British intelligence hub, starting on May 17, 1940.
After the German invasion of France in June 1940, the Spanish team moved from the Cadix centre in the Vichy-controlled zone to Algiers, where they continued working with the Western Allies. There, they handled manual decryption, rotor setting reconstruction, and message traffic analysis. Their efforts were largely overlooked for decades, but recent research and documentaries have brought attention to their role in the broader Allied effort to break Enigma. Gordon Welchman, who became head of Hut 6 at Bletchley Park, said: "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 British Enigma-decryption work at Bletchley Park, where Welchman worked.
While Enigma had certain cryptographic flaws, it was ultimately the German operators' mistakes, their failure to regularly update encryption methods, and the capture of critical codebooks and machines by the Allies that allowed British cryptologists to break the system throughout the war. The intelligence they recovered from these decrypted messages, known as "Ultra" to the British, played a major role in supporting the Allied effort.
In November 1942, during Operation Torch, the Allies captured an Enigma machine used by the Abwehr. This particular machine lacked a plugboard and featured rotors that turned 11, 15, and 19 times rather than once every 26 letters, with an additional plate acting as a fourth rotor on the left. The Abwehr’s code had already been broken earlier, on December 8, 1941, by Dilly Knox. Agents sent messages using a simple code, which was then encrypted with the Enigma machine. Once that simple code was cracked, it helped break the daily Enigma cipher, enabling the Double-Cross System to function.
-
Read this chapter
When a key is pressed on the Enigma machine, an electrical current flows through a carefully arranged pathway. This path is created by rotating rotors that align with contacts and fixed wiring inside the device. Each rotor shifts position, changing which electrical connections are made. As the current travels from the pressed key, it moves through this dynamic circuit and lights up one of the display lamps. The letter shown on that lamp becomes part of the encrypted message. For instance, when typing a message beginning ANX..., pressing A might light the Z lamp, meaning Z is the first ciphertext letter. Each subsequent letter follows the same process, with the rotors rotating slightly after each keystroke to ensure a new electrical path is formed.
Current flows from the battery through a depressed bi-directional keyboard switch to the plugboard. In this instance, it passes through the unused plug "A," then through the entry wheel, and on through the wiring of the three rotors used in Wehrmacht Enigmas or four in Kriegsmarine M4 and Abwehr variants. The electrical signal enters the reflector, which sends it back through the rotors and entry wheel, and then through plug "S," connected by cable to plug "D." Another bi-directional switch lights the appropriate lamp.
Each time you press a key on the Enigma machine, the electrical signal follows a different path through the scrambler, which is what makes the encryption work. The right-hand rotor turns with each press, changing the route the current takes. This means that the same letter will encrypt to a different letter every time, like how A might become G first and then C. The signal travels into the rotors, bounces off the reflector, and comes back out through the rotors again. Inside each rotor, there are other possible paths, but only one is active at a time, and those paths shift as the rotors turn. Eventually, more than just the right-hand rotor will rotate, adding even more complexity to the encryption.
-
Read this chapter
The rotors, also known as wheels or drums, are the core component of the Enigma machine. Each rotor is a disc about ten centimeters across, made from materials like Ebonite or Bakelite. On one side, there are twenty-six brass pins arranged in a circle, and on the other side, there are corresponding electrical contacts in the form of circular plates. These pins and contacts represent the letters A through Z. When the rotors are placed side by side on a spindle, the pins of one rotor make contact with the plate contacts of the next. Inside each rotor, wires connect every pin to a specific contact in a complex pattern. Most rotors are labeled with Roman numerals, and every unit of rotor I, for example, is wired exactly the same way as all others. This is also true for the thinner Beta and Gamma rotors used in the M4 naval version.
A single rotor in the Enigma machine carries out just a basic kind of encryption, essentially a simple substitution cipher. For instance, the pin linked to the letter E might connect to the contact for T on the opposite side, and so forth. But the real strength of the system lies not in one rotor alone, but in using multiple rotors together—usually three or four—and having them move regularly in sequence. This setup creates what’s known as a polyalphabetic substitution cipher, making the encryption far more complex and secure.
Each rotor in the Enigma machine could be set to any of 26 starting positions, and operators would adjust them by hand using a grooved finger-wheel on the machine's cover. A visible alphabet tyre, or letter ring, was attached to the outside of each rotor disc, showing the current position through a window in the cover. In early models, this ring was fixed to the rotor, but later versions allowed the ring to be adjusted relative to the rotor disc. This setting was called the Ringstellung, and it was part of the machine’s initial setup, functioning like an initialization vector in modern terms.
Each Enigma machine rotor has one or more notches that determine when the rotor advances during encryption. In military versions, these notches are positioned on the alphabet ring - the outer ring displaying letters A through Z - which can be adjusted separately from the rotor itself, allowing different starting positions. The notches' placement on the alphabet ring plays a key role in how the machine scrambles letters, as they dictate when each rotor turns. When a rotor reaches its notch, it causes the next rotor to step forward, changing the encryption pattern. This interaction between rotors and their notches is essential to the complexity of the Enigma's cipher. Military variants follow this same design with notches located on the alphabet ring.
The Army and Air Force Enigmas used several rotors, starting with three and increasing to five by December 15, 1938, from which operators would choose three for each session. These rotors were labeled with Roman numerals: I, II, III, IV, and V. Each had a single turnover notch positioned at a different point on the alphabet ring. This variation was likely meant to improve security but ended up helping codebreakers, as it enabled techniques like the Polish Clock Method and the British Banburismus attacks.
The Naval Enigma machine used more rotors than the other German services, starting with six and later seven, then eight. These extra rotors were labeled VI, VII, and VIII, each with unique wiring and two notches that caused them to turn over more often. The four-rotor Naval version, known as the M4, fit an additional rotor into the same space as the three-rotor model by using a thinner reflector and adding a fourth rotor. This fourth rotor came in two types—Beta or Gamma—and did not rotate automatically but could be manually set to any of 26 positions, with one setting making the machine behave like the three-rotor version.
-
Read this chapter
Each key press on the Enigma machine didn’t just send a signal—it triggered a mechanical change. One or more rotors would turn a tiny bit, shifting the encryption pattern before the electrical path was completed. This meant that every letter you typed used a different substitution alphabet. The right-hand rotor moved with every keystroke, while the others advanced less often, depending on the model. This rotating system made the cipher much harder to crack than a basic substitution cipher, turning it into a complex polyalphabetic one.
-
Read this chapter
The British called it a turnover when a rotor advanced, other than the leftmost one. This happened through a ratchet and pawl system. Each rotor had a ratchet with twenty-six teeth. When a key was pressed, spring-loaded pawls moved forward together, trying to engage with the ratchet. Normally, the alphabet ring of the rotor on the right blocked this. As that ring turned with its rotor, a notch in it would align with the pawl, letting it engage and advance the rotor to its left. The right-hand pawl, with no rotor behind it, advanced its own rotor with every key press. A single-notch rotor in the rightmost position caused the middle rotor to step once for every twenty-six steps of the right-hand rotor. The same applied to rotors two and three. With a two-notch rotor, the rotor to its left turned over twice for each full rotation.
The first five rotors introduced—named I through V—each had a single notch, whereas the later naval rotors VI, VII, and VIII featured two notches apiece. The location of each notch was set by the letter ring, which could be adjusted relative to the core that held the internal wiring connections. These notches determined when the next rotor would advance.
The Enigma machine’s design included a feature called double-stepping, which happened when a pawl aligned with both the ratchet of its rotor and the notched ring of the adjacent rotor. If a pawl engaged through a notch, moving forward would push against both the ratchet and the notch, advancing two rotors at once. In a three-rotor setup, this affected only the middle rotor. When rotor three’s ratchet was engaged, rotor two would step again on the next keystroke, causing it to move twice in succession. Rotor two also pushed rotor one forward after 26 steps, but since rotor one moved every time anyway, no double-stepping occurred there. This created irregular motion that deviated from a simple odometer-style progression.
The Enigma machine used three rotors, and because of how they were designed, with notches only in the first and second wheels, the pattern of rotor movement repeated every 16,900 letter shifts. That’s 26 times 25 times 26, not the full 26 cubed, due to a mechanical feature called double-stepping. Messages were kept short—only a few hundred letters at a time—so the machine wouldn’t cycle through the same rotor combination twice during one session. This prevented codebreakers from spotting repeating patterns that could help them crack the encryption.
The Naval fourth rotors required a new design, so the reflector was made thinner to create space for them. The fourth rotor then fit into that available area. There were no other modifications, which made switching easier. Because only three pawls were used, the fourth rotor did not move on its own, but could be manually adjusted to any of the 26 positions.
There was a device designed but never used before the war ended, called the Lückenfüllerwalze, or gap-fill wheel, which was meant to create irregular stepping. It allowed notches to be set in any of the 26 positions on the wheel. If the number of notches was relatively prime to 26, and each wheel had a different number of notches, the rotation would become harder to predict. This mechanism, like the Umkehrwalze-D, also made it possible to rewire the internal components.
-
Read this chapter
The entry wheel, known in German as the Eintrittswalze, serves as a key connection between the plugboard and the rotor assembly. When the plugboard isn’t present, it links the keyboard directly to the rotors. The wiring of this component doesn’t greatly affect security, but it did complicate Rejewski’s efforts to understand how the machine worked. Commercial Enigmas connected keys in the order they appear on a QWERTZ keyboard—Q to A, W to B, and so forth. Military Enigmas, however, used straight alphabetical order: A to A, B to B, and so on. It was through careful deduction that Rejewski figured out this difference.
-
Read this chapter
The Enigma machine used a reflector, known in German as the Umkehrwalze, which was a patented part of the design and set it apart from other rotor machines of its time. Except for models A and B, the last rotor led into this reflector, which paired up the outputs and sent the electrical current back through the machine by a different path. This feature made the machine self-reciprocal, meaning that if two machines were set up exactly the same, you could encrypt a message on one and decrypt it on the other without needing to switch modes. It also made the machine more compact, but it introduced a major flaw: no letter ever encrypted to itself. Codebreakers later used this weakness to their advantage.
In the Enigma machine, the reflector played a key role in how messages were encoded. In Model 'C', the reflector could be placed in one of two positions. But in Model 'D', there were 26 possible settings for the reflector, though it stayed fixed during encryption. The version used by the Abwehr military followed a different pattern—its reflector moved during the encryption process, much like the other wheels did.
In the Enigma machines used by the German Army and Air Force, the reflector was a stationary part that never turned, and four different versions were deployed over time. The first, marked 'A', gave way to Umkehrwalze B starting on 1 November 1937. A third model, Umkehrwalze C, saw limited use in 1940, likely by accident, and was eventually broken by Hut 6. Then, on 2 January 1944, a new version named Umkehrwalze D appeared—known to the British as Uncle Dick. This final reflector could be rewired, giving operators yet another method to adjust connections as part of the machine’s key settings.
-
Read this chapter
The plugboard, known in German as the Steckerbrett, allowed operators to change the wiring however they wanted. It first appeared on German Army Enigmas in 1928 and was soon used by the Reichsmarine, the German Navy. This feature added more security than adding another rotor, with 150 trillion possible settings. Without a plugboard—called unsteckered Enigma—it was easier to break using manual methods. The plugboard made those older techniques useless, forcing Allied cryptanalysts to build special machines just to crack it.
When an operator pressed a letter like E, the plugboard redirected that signal to its paired letter, such as Q, before it reached the rotors. This swapping happened before and after the main scrambling unit, changing how the message would be encoded. A single cable on the plugboard created these letter pairs, and up to thirteen could be in use at once, though ten was the typical number. The effect was simple yet crucial: every letter entered into the machine had a chance to be transformed before it went through the complex rotor system.
Current flowed from the keyboard through the plugboard, where each letter had two jacks. When a plug was inserted, it disconnected the upper jack, which came from the keyboard, and the lower jack, which led to the entry-rotor. The plug at the other end of the cable was then placed into another letter’s jacks, effectively swapping the connections of those two letters.
-
Read this chapter
Some Enigma machines, including the M4 model, were equipped with a device known as the Schreibmax—a compact printer that could directly output the 26 letters onto a thin paper strip. This feature removed the necessity for an additional operator to manually record the letters shown on the lamp panel. The printer was mounted on top of the machine and linked to its lamp system. Installation required taking off the lamp cover and light bulbs first. It enhanced both ease of use and security, allowing the signal officer to operate the machine without viewing the actual decrypted text.
-
Read this chapter
The Enigma machine's process for encoding each letter can be described using math, specifically as a series of permutations. In the case of a three-rotor German Army or Air Force Enigma, the transformation involves several key parts. Let P stand for the plugboard’s rearrangement, and U for the reflector’s fixed mapping. These elements work together in a specific order to scramble the input letter into its encoded output. The exact mathematical structure of this system was crucial in understanding how the machine functioned and eventually how it could be cracked.
Every time a letter is typed, the machine's rotors shift, altering how that letter is encoded. Take the rightmost rotor, labeled R, for instance. If it moves n spaces forward, the entire encoding process adjusts accordingly. This rotation happens with each keystroke, making the cipher dynamic and far more complex than static substitution ciphers. The transformation applied to any given letter depends not just on the initial settings but also on where the rotors have turned since the last key press.
The encryption process involves a series of rotations, where ρ represents the cyclic shift mapping A to B, B to C, and so on. The middle rotor is described by a rotation j, while the left-hand rotor uses a rotation k. These movements correspond to M and L respectively. Each rotor's position changes the way letters are transformed, creating a complex system of substitutions. The overall transformation combines these individual steps into a single encryption function. This mathematical structure underpins how messages were encoded using the machine’s rotating wheels.
The Enigma machine's encryption process followed a precise mathematical structure, represented by the formula: E = P(ρⁿRρ⁻ⁿ)(ρʲMρ⁻ʲ)(ρᵏLρ⁻ᵏ)U(ρᵏL⁻¹ρ⁻ᵏ)(ρʲM⁻¹ρ⁻ʲ)(ρⁿR⁻¹ρ⁻ⁿ)P⁻¹. This equation describes how the machine transformed a message through a series of rotor steps, using permutations and substitutions. Each component in the formula corresponds to specific parts of the machine's operation, including the reflector R, the rotors L, M, and R, and the plugboard P. The letters ρ, j, k, and n denote rotation steps and positions within the system. The entire process was designed to scramble input letters into seemingly random output, making decryption extremely difficult without knowing the daily settings. This complex interplay of algebraic operations formed the heart of the Enigma's cryptographic strength.
The military Enigma machine used three rotors selected from a set of five, with each rotor capable of 26 different positions. The plugboard connected ten pairs of letters, creating an enormous number of possible configurations. When you combine all these elements—rotor choices, their settings, and the plugboard connections—the total number of unique settings reaches 158,962,555,217,826,360,000. That’s nearly 159 quintillion possibilities, or about 67 bits of information. This staggering complexity made the Enigma seem nearly unbreakable, until codebreakers found ways to exploit its mathematical structure.
-
Read this chapter
An Enigma operator received a plaintext message and typed it into the machine. Each key press lit up a lamp showing a different letter, determined by the machine’s internal wiring. A second operator wrote down that letter as the cyphertext. Every time a key was pressed, at least one rotor turned, changing the electrical path and creating a new substitution. This meant that even if the same letter appeared multiple times in the message, it would encrypt to different cyphertext letters. The rotors rotated after each keystroke, so every letter used a fresh alphabet. When the message was done, the cyphertext was sent—usually by radio in Morse code—to another operator with an identical Enigma. That operator typed the cyphertext into their machine, and if all the settings matched, the original message reappeared as plaintext.
-
Read this chapter
The Enigma machine's key stayed the same for most of a day, but each message used a new starting rotor position—something like an initialization vector in modern crypto. That’s because sending many messages with similar settings could let attackers use techniques like Friedman’s Index of coincidence. The rotor positions were sent just before the encrypted message, usually after being encoded themselves. This method was called the indicator procedure. But flaws in how this was done, along with operator errors, became major weaknesses that helped break the Enigma code.
The earliest indicator procedure used by the Enigma machine had a cryptographic weakness that let Polish cryptanalysts break into the plugboard version. In this method, operators set their machines according to shared secret settings, including an initial rotor position like AOH. They would align the rotors to show AOH and then pick a random starting point for the message, such as EIN. The operator would type that message setting twice, which produced an encrypted result—like XHTLOA—and that was sent as the indicator. After transmitting, the operator would reset the rotors to the message setting, EIN in this case, and then type out the actual message.
When the message arrived, the operator at the receiving end would configure the machine using the initial settings, AOH, then input the first six letters of the cipher text—XHTLOA. The lamps lit up to show EINEIN, which revealed the encryption setting the sender had used for that particular message. With that information, the operator adjusted the rotors to EIN, entered the rest of the ciphertext, and decoded the full message.
The Enigma machine’s indicator system had two major flaws that made it vulnerable to breaking. First, using a global initial position meant all messages relied on the same polyalphabetic substitution, weakening security. Later procedures let operators choose their own initial settings and send them in the clear, improving things slightly. But the real issue was the repetition of the indicator—sending the message setting twice created patterns that linked characters across the message. These weaknesses allowed the Polish Cipher Bureau to crack the pre-war Enigma as early as 1932. German cryptanalysts later called this early method the “faulty indicator technique.”
During World War II, codebooks were used each day to configure the rotors, their ring settings, and the plugboard. For every message, the operator picked a random start position—like WZA—and a random message key, such as SXT. They aligned the rotors to WZA and encoded the message key SXT, which resulted in UHL. Then they set the message key SXT as the new start position and encrypted the actual message. Next, they sent the original start position WZA, the encoded message key UHL, and finally the ciphertext. The receiver used the first trigram WZA to align their machine, decoded the second trigram UHL to get SXT, then used that as the start position to decrypt the message. This method ensured each message had a different ground setting and fixed the weakness of double encoded settings.
The Enigma machine was used differently by various branches of the German military. The Heer and Luftwaffe followed a specific procedure, but the Kriegsmarine had a much more complicated method. Before any message was encrypted, it first went through a process using something called the Kurzsignalheft code book. This code book included tables that turned full sentences into four-letter groups. It had many options for everyday military needs like refueling, meeting supply ships, grid positions, harbor names, countries, weapons, weather, enemy locations, and schedules. There was also another codebook that held the Kenngruppen and Spruchschlüssel — the key identification and message key.
-
Read this chapter
The Army Enigma machine operated exclusively with the 26 letters of the alphabet. When messages included punctuation or spaces, those elements were handled by substituting rare character combinations. A space in the original text was typically omitted or marked with an X. This X usually served as a replacement for a full stop, ensuring that the encrypted message stayed within the machine’s alphabetical constraints.
In parts of the German armed forces, punctuation was handled differently than in standard usage. The Wehrmacht, for instance, used ZZ instead of a comma and FRAGE or FRAQ in place of a question mark. These variations were part of the cipher system they employed, and understanding them was essential for anyone trying to decode their messages. The differences weren’t just typographical—they were deliberate choices within the encryption process. Each branch of the military had its own way of adapting these symbols, making the task of breaking the code even more complex. These small but significant changes were part of a larger strategy to keep communication secure.
The Kriegsmarine, Germany’s naval force, made specific changes to their cipher system to confuse enemies. They swapped the comma with the letter Y and replaced the question mark with UD. The letter combination CH, as found in words like “Acht” meaning eight or “Richtung” meaning direction, was changed to Q—so “Acht” became “AQT” and “Richtung” became “RIQTUNG.” To represent numbers, they used special codes: two zeros were shown as CENTA, three as MILLE, and four as MYRIA. These adjustments were part of the broader effort to make their encrypted messages harder to break.
To make the cipher harder to break, the Germans changed how they wrote frequently used terms. For example, the word Minensuchboot, which means minesweeper, was spelled in several ways—sometimes MINENSUCHBOOT, sometimes MINBOOT, and occasionally MMMBOOT. They also kept their messages short, limiting them to 250 characters. If a message was longer than that, it was split into parts, each with its own key. This made the job of anyone trying to crack the code even more difficult.
-
Read this chapter
The Enigma machine’s character substitutions can be shown as a string of letters, where each position represents the output character for the corresponding letter in the alphabet. For instance, if a specific machine setting changed A into L, B into U, C into S, and so on until Z became J, that entire pattern could be written out compactly as one continuous string. This method gives a clear picture of how each letter was transformed during enciphering. The arrangement of these substitutions depended entirely on the machine's configuration at any given time.
When a specific letter was encrypted using a certain setup, the result could be shown by emphasizing the resulting letter in this way.
The process of enciphering a message on an Enigma machine involves a series of configurations, each linked to one letter being encrypted. By stringing together these individual steps, you can trace how the machine transformed a message from start to finish. For instance, the first sentence of the famous “Dönitz message” was enciphered using this method.
The letters following each mapping represent the letters visible at the rotor windows at any given moment, and the numbers indicate the actual physical alignment of each rotor. These elements together show how the machine's state changes during encryption, with only the window letters being observable to the operator. The underlying rotor positions determine the cipher's progression, making each step dependent on the previous one. This mechanical interplay forms the core of how the Enigma worked, and understanding it was key to breaking its code.
When the machine enciphers a letter, each component in the system applies its own mapping in sequence. The output from one step becomes the input for the next. For instance, if we look at the fourth stage of this process, it can be broken down into its individual steps. Each of those steps uses the same method of showing how the letters change, with the final encrypted letter clearly marked. This shows how the machine builds up the full encryption through a series of small transformations, one after another.
The enciphering process starts with the keyboard, which doesn’t change the letter G. Then comes the plugboard, set to AE.BF.CM.DQ.HU.JN.LX.PR.SZ.VW—this also leaves G unchanged. Next, the VIII rotor is in position 03, mapping G to A. The VI rotor follows, in position 17, changing A to N. The process continues through the remaining rotors, and then the plugboard is applied again, turning B into F. The final result shows that G becomes F.
-
Read this chapter
The Enigma C was quickly replaced by Enigma D in 1927, a version that saw widespread use across several countries including Sweden, the Netherlands, the United Kingdom, Japan, Italy, Spain, the United States, and Poland. That same year, Hugh Foss at the British Government Code and Cypher School demonstrated that commercial Enigma machines could be broken if cryptographers had access to suitable cribs. The Enigma D also introduced a standard keyboard layout that would later influence German computing, using a format very similar to the American QWERTY design.
-
Read this chapter
The German navy, known as the Reichsmarine, was the first among military branches to begin using the Enigma machine. A version of it, called Funkschlüssel C, entered production in 1925 and was officially put into service the following year, in 1926.
The Funkschlüssel C machine used a keyboard and lampboard with 29 letters—A through Z, plus Ä, Ö, and Ü—arranged in alphabetical order rather than the typical QWERTZUI layout. Each rotor had 28 contacts, and the letter X was wired to pass through unencrypted. Users selected three rotors from a set of five, and the reflector could be placed in one of four positions labeled α, β, γ, and δ. This version of the machine was updated slightly in July 1933.
-
Read this chapter
In June 1930, the Enigma machine G was modified and became known as the Enigma I. This version is also referred to as the Wehrmacht Enigma or the "Services" Enigma. It was used widely by German military services and other government organizations, including the railways, both before and during World War II.
The Enigma I machine used by the German Army starting in 1930 was not just any cipher device—it included a plugboard that swapped pairs of letters, making it far stronger than the commercial versions. This addition significantly increased the complexity of the encryption, giving the Wehrmacht a more secure way to communicate. The plugboard allowed operators to further scramble messages, adding layers of confusion that made the system harder to break. Compared to earlier models, this version brought a new level of sophistication to German military communications. It was during this time that the machine began to evolve into something more powerful and dangerous. The changes made in 1930 set the stage for what would follow, as the Wehrmacht refined their use of the Enigma I. This was not just an update—it was a leap forward in cryptographic design.
The Wehrmacht Enigma I, used from 1930 to 1938, had several key differences from earlier models. It featured a fixed reflector and moved the stepping notches from the rotor body to the adjustable letter rings. The machine was sizable, measuring twenty-eight centimeters by thirty-four centimeters by fifteen centimeters, and weighed about twelve kilograms. These changes made the encryption more complex, but also provided clues that would later help codebreakers.
-
Read this chapter
The secret of breaking the Enigma wasn’t revealed until 1973, but since then, interest in the machine has grown. Museums across the world now display Enigmas, including the Deutsches Museum in Munich, which holds both three- and four-rotor military versions, as well as civilian models. The Deutsches Spionagemuseum in Berlin also features two military machines. Other locations include Bletchley Park’s National Codes Centre, London’s Science Museum, and the Polish Army Museum in Warsaw. The Swedish Army Museum in Stockholm, the Military Museum of A Coruña in Spain, and the Australian War Memorial in Canberra have displays too. In 2020, a rare Polish Enigma double, assembled in France in 1940, was transferred to the Polish History Museum thanks to support from the Ministry of Culture and National Heritage.
Enigma machines survive today in museums across the United States and Canada, where visitors can see and even try operating them. The Computer History Museum in Mountain View, California, has one, and the National Security Agency's museum in Maryland features a working model. After World War II, two machines from U-505 were displayed at the Museum of Science and Industry in Chicago. A three-rotor Enigma is at Discovery Park of America in Tennessee, and a four-rotor machine sits in the Pentagon's ANZUS Corridor, on loan from Australia. The Air Force Academy in Colorado Springs also displays one, and New Orleans' National WWII Museum has a machine. The International Museum of World War II near Boston holds seven, including a U-boat model and a rare ten-rotor code machine. In Georgia, the Mimms Museum of Technology and Art shows a three-rotor Enigma with two extra rotors, fully restored and purchased by the German Army in 1936. England's National Museum of Computing and Carnegie Mellon University also house surviving machines, including a three-rotor A5005 and a four-rotor M16681. In Canada, a Swiss Army Enigma-K is on display in Calgary, and another four-rotor machine is at Canadian Forces Base Kingston.
Enigma machines sometimes appear at auction, with recent prices reaching as high as $547,500. Replicas exist in many forms, from exact reconstructions like the Naval M4 to electronic versions and simulators. In 2000, a rare Abwehr Enigma machine, G312, was stolen from Bletchley Park. A man calling himself "The Master" demanded £25,000, threatening to destroy it if the ransom wasn’t paid. When no word came by the deadline, the machine was anonymously sent to BBC journalist Jeremy Paxman, missing three rotors. An antiques dealer named Dennis Yates was later arrested after contacting The Sunday Times to arrange the return of the parts. The machine was returned to Bletchley Park, and Yates was sentenced to ten months in prison, serving three.
In October 2008, El País reported that 28 Enigma machines were found by chance in an attic at Army headquarters in Madrid. These four-rotor commercial machines had supported Franco’s Nationalists during the Spanish Civil War. Though British cryptologist Alfred Dilwyn Knox broke the cipher in 1937, the secret wasn’t shared with the Republicans, who couldn’t crack it themselves. The Nationalist government kept using about 50 Enigmas well into the 1950s. Some are now displayed in Spanish military museums, including one at MUNCYT in La Coruña and another at the Spanish Army Museum. Two were given to Britain’s GCHQ. The Bulgarian military also used Enigma machines with a Cyrillic keyboard; one is on display in Sofia’s National Museum of Military History.
On December 3, 2020, German divers working for the World Wide Fund for Nature found a damaged Enigma machine in Flensburg Firth, part of the Baltic Sea, believed to come from a sunken U-boat. The machine will be restored and is now owned by the Archaeology Museum of Schleswig Holstein. A different Enigma, an M4 model, was recovered in the 1980s from the German minesweeper R15, which went down off the Istrian coast in 1945.
-
Read this chapter
The Enigma machine inspired other cipher designs, including the British Typex, which was based on Enigma patents and included features left out of the actual Enigma. The British used those patents without paying royalties. In the U.S., cryptologist William Friedman began work on the M-325 in 1936, creating a machine that shared logical similarities with the Enigma.
Machines such as the SIGABA, NEMA, and Typex aren’t classified as Enigma derivatives, even though they might seem similar at first glance. That’s because their internal ciphering methods don’t match the mathematical structure of the Enigma transform. The differences lie in how they process the encryption, not just in appearance or function. These machines were built with separate approaches to scrambling letters, which sets them apart from the Enigma family, even if they served similar purposes in wartime communication.
In 2002, Tatjana van Vark, a cryptographer based in the Netherlands, built a rotor machine called Cryptograph. This device used 40-point rotors and was capable of encoding letters, numbers, and some punctuation marks. Each rotor had 509 individual parts, making the system complex and intricate. The machine represented a modern take on cipher technology, designed to handle a wide range of characters in its encryption process.
Read
Free to download, keep and share. For general information only — not professional medical, legal or financial advice. Please consult a qualified professional.