The Enigma Machine and Its SecretsB2, 3 min

The Enigma Machine and Its Secrets

At the end of the First World War, the German engineer Arthur Scherbius invented a machine for writing secret messages. He applied for a patent on February 23, 1918.

From 1923 it was sold under the name Enigma, at first to businesses. The German Navy adopted a modified version in 1926, and the Army soon followed.

The machine had a keyboard, a panel of 26 lamps, a set of turning wheels called rotors, a reflector and, from 1928, a plugboard.

When the operator pressed a key, a lamp lit up with a different letter, and at least one rotor moved, so the code changed with every single letter.

The military Enigma could be set up in about 159 quintillion different ways, a number with 21 digits.

The settings changed every day, and the machine was considered so secure that it was used for the most secret messages.

Yet it had a weakness. Because of the reflector, a letter could never be encrypted as itself, and codebreakers later used this flaw.

The first to break it were not the British but the Poles. In 1932 a German, Hans-Thilo Schmidt, spied for the French and gave them keys, which France passed on to Poland.

Using these keys and mathematics, Marian Rejewski broke the machine around December 1932, helped by Jerzy Różycki and Henryk Zygalski.

From January 1933 the Poles could read German messages. They built special devices, including a machine called the bomba, to search for the settings.

In 1938 the Germans added two more rotors. The Poles had six bomby, but now they would have needed ten times as many.

So on July 26 and 27, 1939, at Pyry near Warsaw, they shared their secrets with French and British experts and promised each a copy of the Enigma.

The work went on at Bletchley Park in Britain. Gordon Welchman, head of Hut 6, later wrote that without the Polish knowledge his team “would never have got off the ground.”

The intelligence from the broken messages was code-named Ultra. Many commentators say it shortened the war substantially and may even have changed its outcome.

The codebreakers were helped by German mistakes. Operators repeated settings, procedures were not changed, and the Allies captured code tables and machines.

About 40,000 Enigma machines were built. Two of them, taken from the captured submarine U-505, are now on display with it in Chicago.

In 2008 it was reported that the Spanish Army had found 28 machines in an attic in Madrid.

Today an Enigma can cost a fortune. One sold for 547,500 dollars in 2017, and in November 2025 an M4 used by Karl Dönitz was sold in Paris for 482,600 euros.

One machine even became the center of a crime. On April 1, 2000, a rare Enigma was stolen from Bletchley Park, and the thief demanded £25,000.

Later the machine was sent to the BBC journalist Jeremy Paxman, but three of its rotors were missing.

Más historias