100 years of Enigma
Cryptography and war
Enigma: This is the exciting story of an ingenious machine for encrypting messages and the brilliant minds who cracked it - and thus crucially influenced the course of the Second World War, which ended 73 years ago.
One hundred years ago, on 23 February 1918, Arthur Scherbius (1878-1929) filed a patent application for his first “cipher apparatus” ( DE416219), which already contained the essential elements of the Enigma.
Before Scherbius, the American Edward H. Hebern had already applied for a patent for a cipher machine with rotating discs (e.g. US1510441A (1,74 MB), US1084010 or US1086823); at the same time, other engineers had similar ideas (for example DE411126A and DE385682A).
Scherbius was an accomplished engineer who had excelled in particular in the development of circuits. After he had tried in vain to offer his invention to the military still during the First World War, the Enigma manufacturers relied on customers from the international business community who wanted to keep their communications secret. Scherbius had continued to further develop the Enigma (see DE378238, DE536556A) until he died in an accident in 1929.
During the 1930s and Hitler’s preparations for war, the military became far more interested in the Enigma. It was taken out of the public domain and used for secret communications between the German army, air force and navy.
Drawing of an Enigma rotor from patent DE425147
The Enigma (derived from the Greek word for “riddle/mystery”) encrypted texts with a system of three or more rotating interchangeable discs (rotors) and plugboard connections, which theoretically offered 158,962,555,217,826,360,000 different keys. The texts were typed in like on a typewriter and the output, a jumble of letters, was then sent by Morse code.
The sender and the recipient each needed an Enigma machine with exactly the same configuration, which was changed regularly during the war (daily at midnight in the German navy). Both sides also needed the code books, in which the changing settings (day keys) were specified.
The Enigma had a serious cryptographic weakness: The “reflector” made it impossible for any entered letter to ever be mapped to itself. That means, for example, that an “A” never appeared as an “A” in the encrypted text but was always replaced by another letter. This significantly reduced the possible Alphabet variants and became an important gateway for code breakers.
Weather forecast as Achilles heel
Furthermore - apart from some sloppiness and individual mistakes - German thoroughness of all things helped to crack the Enigma: Every morning at the same time a weather forecast was transmitted. This naturally contained many recurring terms, which provided the code breakers with starting points for cracking the code.
However, the crucial preparatory work for the disenchantment of the Enigma machine had already been done in Poland in the 1930s: The great mathematician Marian Rejewski had researched essential principles of the machine and passed his knowledge on to British scientists shortly before the outbreak of war. Rejewski also developed the first cryptanalytic machine for deciphering code named “bomba”. Rejewski’s work – just like that of the British code crackers - only became known and appreciated decades after the end of the war.
Computer pioneer Alan Turing and his “bombe”
Drawing from patent document DE536556
Whereas Rejewski has not (yet) become a protagonist of films, Alan Turing (1912-1954) has received this late honour several times already. Together with Gordon Welchmann, Turing was the leading figure of British code breakers in Bletchely Park near London, who worked there under the project name “Ultra”, for example in the famous “Hut 6”. They used the intrinsic flaws of the Enigma, Rejewski’s significant preparatory work and captured code books to find ways to decipher the Enigma radio messages.
By constructing the "bombe" named after him, the basic idea of which Turing had adopted from Rejewski and which he had developed further substantially, he became a father of modern computer technology. The giant apparatus was able to calculate the day key from approximately 1,054,560 possible values using “cribs” (words probably used in the radio message). By using hundreds of these “bombes” in England and the USA, it was finally possible to decode the German radio messages within a few minutes.
Consequently, the Allied forces were informed of all the steps of the Germans, which gave them a substantial advantage and enabled them to act accordingly. The importance of this knowledge lead can hardly be overestimated. The outcome of the submarine war in the Atlantic was decisively influenced by the decoding of German communications.
U-559 is lost – and with it the entire submarine war
Like U559, the German submarine U505 was captured by the Allies with its Enigma and code books. The boat can today be seen in a Museum in Chicago.
The code breakers in Bletchley Park initially had much greater problems with the more complicated encryption system of the German navy than with that of the other German armed forces, which had been cracked soon after the war began. It took until May 1941, before “Ultra” was able to decode the navy communications. Between February and December 1942, there was what was called a black-out, when the German navy introduced the new four-rotor Enigma M-4 and the “Triton” code system. Only after the German submarine U-559 was captured, including the Enigma and code books, Turing and his staff succeeded again in deciphering the radio messages. This was the decisive point in the submarine war.
Almost as important as the decryption of the Enigma was the fact that the British were able to keep their knowledge secret. The German side did not suspect until the end of the war (and long after that!) that the enemy was able to read all radio messages. The confidence of the Nazi armed forces in the “uncrackability” of the Enigma remained undiminished.
Without the Enigma decryption, World War II probably would not have ended 73 years ago.
Drawing from patent document DE416219
The British, for their part, communicated with a similar cipher machine called Typex, whose developers avoided the flaws of the Enigma (e.g. by using multiple turnover notches). Hitler’s cryptographers never managed to break those codes.
By deciphering the Enigma, the mathematicians and cryptanalysts of Bletchley Park played a crucial role in shortening World War II. Considering that substantially more people died on the German side in particular in the last two years of war than in the preceding five years and that, if the war in the West had lasted longer, the nuclear bomb would probably have been used against Germany first, it becomes clear what this meant.
Bilder: iStock.com/giorez, J.B. Spector / Museum of Science and Industry Chicago