logo
Today's AI can crack second world war Enigma code ‘in short order', experts say

Today's AI can crack second world war Enigma code ‘in short order', experts say

Yahoo07-05-2025

The Enigma code was a fiendish cipher that took Alan Turing and his fellow codebreakers a herculean effort to crack. Yet experts say it would have crumbled in the face of modern computing.
While Polish experts broke early versions of the Enigma code in the 1930s and built anti-Enigma machines, subsequent security upgrades by the Germans meant Turing had to develop new machines, or 'Bombes', to help his team of codebreakers decipher enemy messages. By 1943, the machines could decipher two messages every minute.
Yet while the race to break the Enigma code has become famous, credited with shortening the second world war by up to two years, and spawning various Hollywood films, experts say cracking it would be a trivial matter today.
'Enigma wouldn't stand up to modern computing and statistics,' said Michael Wooldridge, a professor of computer science and an expert in artificial intelligence (AI) at the University of Oxford.
The Enigma device used by the Axis powers was an electro-mechanical machine that resembled a typewriter, with three rotors that each had 26 possible positions, a reflector that sent the signal back through the rotors and a plugboard that swapped pairs of letters.
Its set-up meant that even if the same key was pressed twice, a different letter would be produced each time. What's more, the initial settings were changed every 24 hours.
'Essentially the enigma devices got their power because the number of possible ways in which a message could be encrypted was astronomically large. Far, far too large for a human to exhaustively check,' Wooldridge said, adding that the 'bombes' were crude hardwired mechanical computers, searching through enormous numbers of possible alternatives to decrypt Nazi messages.
Dr Mustafa A Mustafa, a senior lecturer in software security at the University of Manchester, added that the key to the success of Turing and his colleagues was that Enigma had a number of weaknesses, including that no letter would be represented as itself once enciphered.
'It was [a] brute force attack, trying all different combinations out. But with these weaknesses of the Enigma, they managed to do that. They managed to automate this to do it fast enough to be able to crack the code,' he said.
Today, however, the process would be far less arduous, not least because of a technology Turing himself pioneered: AI.
'It would be straightforward to recreate the logic of bombes in a conventional program,' Wooldridge said, noting the AI model ChatGPT was able to do so. 'Then with the speed of modern computers, the laborious work of the bombes would be done in very short order.'
Wooldridge added that a range of modern statistical and computational techniques could also be deployed. 'And the power of modern datacentres is hard to imagine,' he said, noting modern computing power would have astounded Turing. 'Enigma would not remotely be a match for these,' he said.
Using a slightly different approach – that Wooldridge suggested might be slower – researchers have previously used an AI system trained to recognise German using Grimm's fairytales, together with 2,000 virtual servers, to crack a coded message in 13 minutes.
But while modern computing would have rapidly defanged Enigma, techniques such as the Rivest-Shamir-Adleman (RSA) cipher – a system initially developed in 1977 and based on large prime numbers – remain robust.
Related: 'A very camp environment': why Alan Turing fatefully told police he was gay
'In the case of RSA, it's the problem of factoring very large numbers. Brute force techniques – looking through all the alternatives – just won't work on these problems,' said Wooldridge, although he noted such techniques might not hold up against future developments. 'If quantum computers ever deliver their theoretical promise, then we may need completely new techniques to keep our data safe,' he said.
But while the Enigma code would not stand up long to modern technology, Mustafa said cracking it during the war was a huge achievement, not least as it was considered unbreakable.
'To be able to crack it – it took them months, more than a year – but to be able actually to do this within the lifetime of the war, it was a huge thing,' he said. 'God knows what would have happened if we hadn't cracked Enigma in time.'

Orange background

Try Our AI Features

Explore what Daily8 AI can do for you:

Comments

No comments yet...

Related Articles

Oxford University to host global climate and human rights summit launch event
Oxford University to host global climate and human rights summit launch event

Yahoo

time2 hours ago

  • Yahoo

Oxford University to host global climate and human rights summit launch event

A panel of speakers from global climate leadership has been announced for a launch event in Oxford ahead of a climate summit. The University of Oxford will host the launch of the Right Here, Right Now Global Climate Summit 2025 at the Sheldonian Theatre on Wednesday, June 4. Featuring keynote speeches, panel discussions, and performances, the event will bring together leading voices from policy, activism, business, and academia to explore the relationship between climate change and human rights. The launch event will take place ahead of a 24-hour global online plenary extending into World Environment Day on June 5. The evening will begin with introductory remarks from Professor Irene Tracey, vice-chancellor of the University of Oxford, and Volker Türk, United Nations High Commissioner for Human Rights. Professor Irene Tracey, vice-chancellor of the University of Oxford (Image: Contributed) The event will be hosted by Justin Rowlatt, climate editor at the BBC, and will include a rotation of speakers discussing how climate change impacts human rights and how these rights can inform responses to the climate crisis. The panel of speakers will include Lord Alok Sharma, a former COP26 president known for leading international negotiations resulting in the Glasgow Climate Pact. Vanessa Nakate, a climate justice activist and founder of the Rise Up Movement, who advocates for equitable climate solutions focusing on African communities, will also speak. Kate Raworth, an economist and co-founder of the Doughnut Economics Action Lab, whose work explores sustainable development within planetary boundaries, and Paul Polman, a business leader and former CEO of Unilever, known for championing responsible corporate climate action, will speak too. The audience will also hear from Professor Lavanya Rajamani, professor of international environmental law at Oxford, whose research and legal work supports climate-vulnerable nations in international negotiations, Emma Pinchbeck, chief executive of the Climate Change Committee, who leads the UK's independent advisory body on reaching net zero, and Dr Omnia El Omrani, a medical doctor and climate-health policy advocate, who has represented youth voices at recent UN climate summits and focuses on the health impacts of climate change. The event will be livestreamed and will conclude with a handover to partners at the University of the South Pacific in Fiji to begin the global programme at 10pm. The 24-hour plenary will include contributions from university hubs around the world, partners at UN Human Rights, and the International Universities Climate Alliance. The Oxford Mail and Oxford City Council are looking to find Oxford's climate heroes with this year's Oxford Climate Awards. Rose Hill and Iffley Low Carbon at the Oxford Climate Awards 2024 (Image: Joe Baker) They are looking for individuals or groups who champion environmental sustainability across categories including innovation in climate action, sustainable business, and green transport.

OpenAI cofounder tells new graduates the day is coming when AI 'will do all the things that we can'
OpenAI cofounder tells new graduates the day is coming when AI 'will do all the things that we can'

Yahoo

time4 hours ago

  • Yahoo

OpenAI cofounder tells new graduates the day is coming when AI 'will do all the things that we can'

OpenAI cofounder Ilya Sutskever says "the day will come when AI will do all the things that we can." He spoke about the state of AI at the University of Toronto convocation last week. Sutskever also advised graduates to "'accept reality as it is and try not to regret the past." Ilya Sutskever says it might take years, but he believes AI will one day be able to accomplish everything humans can. Sutskever, the cofounder and former chief scientist of ChatGPT maker OpenAI, spoke about the technology while giving a convocation speech at the University of Toronto, his alma mater, last week. "The real challenge with AI is that it is really unprecedented and really extreme, and it's going to be very different in the future compared to the way it is today," he said. Sutskever said that while AI is already better at some things than humans, "there are so many things it cannot do as well and it's so deficient, so you can say it still needs to catch up on a lot of things." But, he said, he believes "AI will keep getting better and the day will come when AI will do all the things that we can do." "How can I be so sure of that?" he continued. "We have a brain, the brain is a biological computer, so why can't a digital computer, a digital brain, do the same things? This is the one-sentence summary for why AI will be able to do all those things, because we have a brain and the brain is a biological computer." As is customary at convocation and commencement ceremonies, Sutskever also gave advice to the new graduates. He implored them to "accept reality as it is, try not to regret the past, and try to improve the situation." "It's so easy to think, 'Oh, some bad past decision or bad stroke of luck, something happened, something is unfair,'" he said. "It's so easy to spend so much time thinking like this while it's just so much better and more productive to say, 'Okay, things are the way they are, what's the next best step?'" Sutskever hasn't always taken his own advice on the matter, though. He's said before that he regrets his involvement in the November 2023 ousting of OpenAI CEO Sam Altman. Sutskever was a member of the board, which fired Altman after saying it "no longer has confidence" in his ability to lead OpenAI and that he was "not consistently candid in his communications." A few days later, however, Sutskever expressed regret for his involvement in the ouster and was one of hundreds of OpenAI employees who signed an open letter threatening to quit unless Altman was reinstated as CEO. "I deeply regret my participation in the board's actions," Sutskever said in a post on X at the time. "I never intended to harm OpenAI." Altman was brought back as CEO the same month. Sutskever left OpenAI six months later and started a research lab focused on building "safe superintelligence." Read the original article on Business Insider

Every Morning Rooster Does One Thing Guaranteed To Send Dog Into 'A Frenzy'
Every Morning Rooster Does One Thing Guaranteed To Send Dog Into 'A Frenzy'

Newsweek

time5 hours ago

  • Newsweek

Every Morning Rooster Does One Thing Guaranteed To Send Dog Into 'A Frenzy'

Based on facts, either observed and verified firsthand by the reporter, or reported and verified from knowledgeable sources. Newsweek AI is in beta. Translations may contain inaccuracies—please refer to the original content. A rooster in Florida has found the perfect way to troll his owner's dog each and every morning without fail. Footage of Bob the rooster's surefire technique for ensuring Kristin's dog, Scrappy Doo, more than lives up to his name was captured on a Ring camera device, with the video later shared with Newsweek. Kristin, who only gave her first name, lives with Scrappy Doo, Bob and the rest of his chicken flock in Callahan, told Ring: "Every morning, our rooster Bob struts up to the Ring camera to trigger an Alexa alert that sends our dog Scrappy Doo into a frenzy, only to find Bob and his chicken crew menacingly staring through the glass, laughing." Dogs rank among the most naturally friendly animal species, but that wasn't always the case. A rooster has found a unique way to troll his owner's dog. A rooster has found a unique way to troll his owner's dog. Ring In 2017, a study in the journal Science Advances concluded this friendliness may have been a result of genetic changes over an extended period of time. Researchers reached that conclusion following a study comparing the behavior of domestic dogs and grey wolves, which canines evolved from tens of thousands of years ago. The tests centered on problem-solving and sociability, throwing up some interesting results. While the wolves were better at problem solving and an experiment involving the retrieval of sausage pieces from a lunchbox, canines were much friendlier to humans, compared to wolves who were seen as more aloof. DNA tests conducted as part of the study also identified a potential link between genetic changes and improvements in social behavior. But while dogs might be friendly enough, Bob, who is a 2-and-a-half-year-old who is a mix of Polish and Aseel chickens, appears to relish his role as chief antagonizer around the house. "This taunting and harassment has been occurring for over 2 years now," Kristin said. "Bob also encourages our chickens, Karen, Flo, Eunice, and Matilda to participate." Kristin does her best to try and put a stop to the harassment. "I still tell Bob to stop being naughty through the Two-Way Talk feature," she said. Kristin also makes a point of speaking to Bob directly through the camera saying: "Good morning, and to leave Scrappy alone and stop being naughty" Unfortunately for both Scrappy Doo, and Kristin, Bob's behavior shows no signs of abating, which is a shame, given the number of sweet relationships between dogs and feathered friends that have previously been caught on camera. There was the golden retriever filmed enjoying a little playtime with his owner's chickens in what has become a regular occurrence. Then there was the dog who went viral after somehow convincing a rooster and a flock of chickens to come home with him from an outdoor adventure. On a similar note, in July last year a farm dog struck up the most unusual of friendships with a fawn, sparking delight in the process. Given these examples and many more besides. Kristin may not have given up hope of Bob and Scrappy Doo bonding quite yet.

DOWNLOAD THE APP

Get Started Now: Download the App

Ready to dive into the world of global news and events? Download our app today from your preferred app store and start exploring.
app-storeplay-store