Cracking stuff: how Turing beat the Enigma - Science and Engineering (2024)

Departments Heritage Our partners Robotics and AI28th November 2018

More than 70 years after the Enigma was cracked by Alan Turing and his colleagues at Bletchley Park, innovative technology housed at The University of Manchester has provided a detailed peek beneath the bonnet of the German wartime cipher machine.

A deadly weapon

Cracking stuff: how Turing beat the Enigma - Science and Engineering (1)

The German Enigma machine was integral in providing the Axis powers with the upper hand during World War II – particularly during the Battle of the Atlantic. At this time, the UK was extremely reliant on imports from the US and Canada to keep the population going and fighting. However, German submarines were used to form a blockade and stop these supplies getting through. Crucial to the Axis efforts at this time were the Enigma machines that allowed them to share classified information secretly by encrypting it.

While it might look like a clunky typewriter, the Enigma machine was very good at its job. The machines had a typewriter keyboard to input the messages and a light board that would spell out the encrypted version. Each Enigma operator had a book of codes – a different one for each day – which instructed them on how to set up the machine for that day.

Once a coded message was produced by one machine, it was sent via Morse code to an Enigma operator based elsewhere. That operator would use the same daily key code to set up their own machine in the same way, and they could then simply input the cyphered text on the keyboard. The light board would display the actual message, which would be copied down by the operator.

Indecipherable

Cracking stuff: how Turing beat the Enigma - Science and Engineering (2)

Inside the machine was a minimum of three rotors that would rotate every time a key was pressed to ensure that a different result was generated each time – even if the same key was pressed twice. There was also a plug board, which allowed the operator to add an extra layer of encryption.

In fact, between the rotors and the plug board, there were over 150 million million million (no, that’s not a mistake) possible combinations for each message intercepted by the Allies. Cracking it was a near impossible task, and for every day those messages weren’t deciphered, valuable supplies could be prevented from reaching Britain, and lives put at risk.

To provide an idea of exactly what the codebreakers were up against, we were recently lucky enough to get a peek inside an Enigma machine. Aptly, the machine was sent to the Alan Turing Building, where a series of X-ray radiographs were taken using X-ray Computed Tomography. These X-rays were then used to build a virtual 3D replica of the internal workings of the machine – providing a unique glimpse at the layers of mechanics that allowed messages to be so thoroughly encoded. You can watch a video of the 3D images here.

The machine’s owner David Cripps said: “One thing we’ve been able to do is actually look inside the rotors and see the individual wires and pins which connect the 26 letters on each of the three rotors, enabling a message to be encrypted. This is the first time anyone has been able to look inside the Enigma with this level of detail, using a technique that does not damage the machine.”

Cracking the code

Cracking stuff: how Turing beat the Enigma - Science and Engineering (3)

Cracking the Enigma seemed an impossible task – and yet it was no match for some of the brightest minds of the time – and one Manchester hero in particular. Just one day after the UK declared war on Germany, mathematician Alan Turing reported for duty at Bletchley Park – the top-secret nerve centre for codebreaking during the war.

While there, Turing built a device known as the Bombe. This machine was able to use logic to decipher the encrypted messages produced by the Enigma. However, it was human understanding that enabled the real breakthroughs.

The Bletchley Park team made educated guesses at certain words the message would contain. For example, they knew that every day the German forces sent out a ‘weather report’, so an intercepted coded message would almost certainly contain the German word for ‘weather’. They also knew that most messages would contain the phrase ‘heil Hitler’. Looking for these patterns in the coded messages helped the team to calculate the daily settings on the Enigma machines.

Another breakthrough came with the discovery that numbers were spelt out as words rather than using the single letters on the machines meant to represent them (see image above). Learning this prompted Turing to go back and review any messages that had been decrypted, where he learnt the German word for one – ‘eins’ – appeared in almost every message. From this, he created the Eins Catalogue, which helped him to automate the crib process.

Weaknesses within the Enigma also helped the team to crack it. For example, a letter was never encoded as itself, which helped reduce some of the possibilities.

Not all the code-cracking efforts took place in Bletchley Park. When there was an urgent need to uncover certain codes, the RAF would assist the codebreakers by planting mines in areas the German forces had previously swept. This would prompt the German officers to send messages that contained words or phrases the codebreakers could recognise – known plaintext – which helped them to work out the machine codes.

Turing’s legacy

Cracking stuff: how Turing beat the Enigma - Science and Engineering (4)

Thanks to the Bletchley Park team and the Bombe, the Enigma was cracked. And yet, such was the secrecy of the project, hardly anyone knew about this huge effort until three decades later – some 20 years after Alan Turing had died.

It is thought that the work of Turing and his team helped to end the war two years earlier than would otherwise have been the case – saving millions of lives in the process. Turing – who went on to take up the position of Reader at Manchester’s Mathematics Department – would not see this achievement recognised during his lifetime.

Gavin Brown, Professor of Machine Learning at The University of Manchester, said: “It is fantastic to unveil this new perspective on the Enigma in the Alan Turing Building, named after the man who played such a large role in cracking its code in World War II. Manchester was an environment where Turing flourished. His legacy can be seen right across the University, with researchers developing super computers that can model the human brain, exploring number theory and cryptography, as well as training robots to understand language. Right here, people are working on the principles that he laid down and the dreams that he had.”

Helping end World War II and saving millions of lives is quite a legacy – but why stop there? Alan Turing is, of course, also recognised as the father of modern computing thanks to his pioneering work in this area. He produced the first detailed design of a stored-program computer, and became the foremost expert in artificial intelligence during his lifetime. As if all that wasn’t enough, he was also an exceptional runner, and was occasionally known to run the 40 miles from Bletchley Park to London to attend meetings.

You may have heard that the Bank of England is calling upon the public to suggest scientists to appear on its new £50 note. There can be few people more worthy than Turing.

You can vote for who you think should appear on the new banknote here. Voting is open until December 14th, and your nomination must be a scientist who is now deceased.

Words – Hayley Cox

Images – School of Mathematics,Shaw June

Alan TuringComputer ScienceMathematicsRoyce

Comments

  1. Bill McConochie says

    Thanks for the detailed and clear essay on Turing and cracking the Enigma coding machine. I’m a research psychologist working on how to empower neighborhood organizations to create local communities of indefinitely sustainable nature, as by refusing to use fossil fuels, or eat or sell red meat, eliminate fertile cats, control population growth, carefully screen police applicants, prohibit dictator leaders, etc. So , I’m having to “break” many “codes” of pessimism that threaten from every angle my vision of a sustainable planet earth. reading about individuals who have successfully “broken” implicit codes of pessimism (e. g. Wright brothers, Helen Keller, etc. ) keeps me going at age 82 and able to retire but enjoying ongoing challenges of my choice. I run 3 miles 3 times per week, split firewood, have assembled a battery of tests for screening police candidates, created a 15 dimension rating scale for placing politicians on the democracy/dictatorship continuum, etc.

  2. Poland says

    No mention of Polish cryptographers who had been working on it for years before the war and broke the code and passed the knowledge to the French and the British. Sad.

  3. Elizabeth Stern says

    Loved this article

Cracking stuff: how Turing beat the Enigma - Science and Engineering (2024)

FAQs

Who actually broke the Enigma code? ›

This year marks 90 years since Marian Rejewski broke the Enigma code. Thanks to the achievements of cryptologists and possession of the commercial machine and documents provided by French intelligence, Poles started work on building a copy of the Enigma soon after.

How long would it take to crack the Enigma code today? ›

Let's say it takes about 100 such operations to try to decode a simple message with a given setting. Therefore, a single core can try 30 million configurations in a second. So to try all possibilities, it'll take us 150 trillion divided by 30, which is 5 trillion seconds: about 160,000 years!

What happened to Alan Turing after he cracked the Enigma code? ›

Turing returned to Bletchley in March 1943, where he continued his work in cryptanalysis. Later in the war, he developed a speech scrambling device which he named 'Delilah'. In 1945, Turing was awarded an OBE for his wartime work.

Was Enigma really cracked? ›

The Enigma code was first broken by the Poles, under the leadership of mathematician Marian Rejewski, in the early 1930s. In 1939, with the growing likelihood of a German invasion, the Poles turned their information over to the British, who set up a secret code-breaking group known as Ultra, under mathematician Alan M.

Did the Germans ever suspect Enigma had been broken? ›

Intelligence from decrypted Enigma messages, code-named "ULTRA," was extremely secret, and very few people knew about it. While the Germans never found out the Allies could solve their codes, they suspected it as their ability to sink Allied shipping slipped dramatically in 1942.

Did a woman help solve the Enigma code? ›

The only woman to work in the nerve centre of the quest to crack German Enigma ciphers, Clarke rose to deputy head of Hut 8, and would be its longest-serving member. She was also Turing's lifelong friend and confidante and, briefly, his fiancée.

What if the Enigma code was not broken? ›

If the British had not been reading Enigma messages, then the happy state of disbelief would have continued. Had that mindset persisted, the consequence could have been that an awful lot of battles won by the Allies as a result of superior intelligence would have been turned around.

Why is it so hard to decrypt Enigma? ›

An Enigma machine allows for billions and billions of ways to encode a message, making it incredibly difficult for other nations to crack German codes during the war — for a time the code seemed unbreakable.

Did the Enigma code change every day? ›

The Enigma Machine

For the message to be both encrypted and decrypted, both operators had to know two sets of codes. A daily base code, changed every 24 hours, was published monthly by the Germans. Then, each operator created an individual setting used only for that message.

Did Alan Turing love Joan Clarke? ›

Clarke was a gifted mathematician who was recruited to work at Bletchley Park, the government codebreaking centre, where she was assigned to work in Hut 8 with Alan Turing. The pair later became secretly engaged but the engagement was broken off when Turing revealed he was gay. They remained friends.

Where is Alan Turing buried? ›

His mother Ethel Turing never accepted the coroner's verdict of suicide and believed her son had ingested the poison accidentally. On 12 June 1954, Turing was cremated at Woking Crematorium, and his ashes scattered where those of his father had been.

What was the flaw in the Enigma code? ›

Enigma had one fatal flaw, and a genius, hand-picked team at Bletchley Park exploited this flaw. The flaw was that the Enigma machine could never substitute one letter with the same letter (A could never be coded as A, for example). It was the way the machine was designed.

How many lives did Alan Turing save? ›

Due to the problems of counterfactual history, it is hard to estimate the precise effect Ultra intelligence had on the war. However, official war historian Harry Hinsley estimated that this work shortened the war in Europe by more than two years and saved over 14 million lives.

Why did the Germans think Enigma was unbreakable? ›

The Enigma used a combination of rotors, plugs and wiring to code messages and was said to have as many as 103 sextillion possible settings, which is one of the reasons the Germans thought their code was unbreakable, according to the Bletchley Park Museum.

Did Alan Turing marry? ›

In early 1941, Turing proposed marriage to Clarke, and subsequently introduced her to his family. Although he privately admitted his hom*osexuality to her, she was reportedly unfazed by the revelation. Turing decided that he could not go through with the marriage, and broke up with Clarke in mid-1941.

Did the British or Polish break the Enigma? ›

Thousands of miles away, Britain could not intercept Enigma messages until the Spanish Civil War between 1936 and 1939. Between 1932 and 1938, mathematicians at the Polish Cipher Bureau broke the Enigma cipher.

Who is the traitor in Enigma? ›

The historian Norman Davies argues that in the film the fictitious traitor turns out to be Polish, but only slight mention is made of the contributions of prewar Polish Cipher Bureau cryptologists to Allied Enigma decryption efforts, but historically, the only known traitor active at Bletchley Park was British spy John ...

Why was Alan Turing castrated? ›

In 1952, Turing was prosecuted for hom*osexual acts. He accepted hormone treatment, a procedure commonly referred to as chemical castration, as an alternative to prison. Turing died on 7 June 1954, aged 41, from cyanide poisoning.

How historically accurate is The Imitation Game? ›

Only 41.4% of the scenes in Alan Turing movie The Imitation Game were deemed “real”. “To be fair,” said the analysts of the first film, “shoe-horning the incredible complexity of the Enigma machine and cryptography in general was never going to be easy.

Top Articles
Financial Freedom and Mental Health - Thrifty Guardian
4 Powerful Ways to Make the Most of Your Variable Income
$4,500,000 - 645 Matanzas CT, Fort Myers Beach, FL, 33931, William Raveis Real Estate, Mortgage, and Insurance
Frases para un bendecido domingo: llena tu día con palabras de gratitud y esperanza - Blogfrases
Poe T4 Aisling
Hotels
Free Atm For Emerald Card Near Me
Craglist Oc
Davante Adams Wikipedia
Watch Mashle 2nd Season Anime Free on Gogoanime
Ati Capstone Orientation Video Quiz
Geodis Logistic Joliet/Topco
The Best Classes in WoW War Within - Best Class in 11.0.2 | Dving Guides
Premier Boating Center Conroe
Purple Crip Strain Leafly
Morocco Forum Tripadvisor
Nene25 Sports
Paychex Pricing And Fees (2024 Guide)
Video shows two planes collide while taxiing at airport | CNN
Invert Clipping Mask Illustrator
Divina Rapsing
Hanger Clinic/Billpay
G Switch Unblocked Tyrone
Booknet.com Contract Marriage 2
Understanding Genetics
Ivegore Machete Mutolation
D2L Brightspace Clc
Renfield Showtimes Near Paragon Theaters - Coral Square
Roanoke Skipthegames Com
A Christmas Horse - Alison Senxation
Accuradio Unblocked
Account Now Login In
O'reilly's In Mathis Texas
John Philip Sousa Foundation
Sinai Sdn 2023
Kids and Adult Dinosaur Costume
Truis Bank Near Me
El agente nocturno, actores y personajes: quién es quién en la serie de Netflix The Night Agent | MAG | EL COMERCIO PERÚ
Today's Final Jeopardy Clue
Skyrim:Elder Knowledge - The Unofficial Elder Scrolls Pages (UESP)
State Legislatures Icivics Answer Key
Publictributes
Puretalkusa.com/Amac
Dragon Ball Super Super Hero 123Movies
9:00 A.m. Cdt
Interminable Rooms
Booknet.com Contract Marriage 2
Cara Corcione Obituary
Bellelement.com Review: Real Store or A Scam? Read This
28 Mm Zwart Spaanplaat Gemelamineerd (U999 ST9 Matte | RAL9005) Op Maat | Zagen Op Mm + ABS Kantenband
Jasgotgass2
Lagrone Funeral Chapel & Crematory Obituaries
Latest Posts
Article information

Author: Lakeisha Bayer VM

Last Updated:

Views: 5891

Rating: 4.9 / 5 (49 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Lakeisha Bayer VM

Birthday: 1997-10-17

Address: Suite 835 34136 Adrian Mountains, Floydton, UT 81036

Phone: +3571527672278

Job: Manufacturing Agent

Hobby: Skimboarding, Photography, Roller skating, Knife making, Paintball, Embroidery, Gunsmithing

Introduction: My name is Lakeisha Bayer VM, I am a brainy, kind, enchanting, healthy, lovely, clean, witty person who loves writing and wants to share my knowledge and understanding with you.