Large language models decode historical Enigma ciphers

Recent experiments demonstrate that advanced artificial intelligence models can successfully decode long-unsolved Enigma cipher messages.

2 min read

Photograph of an open Enigma cipher machine showing its keyboard, internal rotors, and plugboard.
An authentic Enigma machine used to encrypt and decrypt historic military communications.

Alan Turing is historically celebrated for his pioneering work on artificial intelligence and his role in cracking the Enigma code used by Nazi Germany during World War II. While Turing and his team developed the electromechanical Bombe to translate intercepted communications, a small number of archival Enigma messages remained unbroken for decades due to human transmission errors or mistranscriptions.

Recently, cryptanalysts successfully utilized large language models from OpenAI and Anthropic to solve two of these persistent ciphers.

Key facts

Birth date
23 June 1912
Death date
7 June 1954
Education doctorate
Princeton University
Education undergraduate
King's College, Cambridge

Decoding historic messages

Developer Carter Leffen tasked OpenAI's Astra model with searching a database of Enigma messages to identify and decode an unbroken entry. The system conducted archival research, identified contextual clues, constructed a functional Enigma machine simulator, and ultimately recovered the plaintext of a message that had baffled researchers since 2005.

Wiring diagram demonstrating how electrical current flows through the keyboard, plugboard, and rotors.
Diagram illustrating the electrical wiring and signal path within an Enigma cipher mechanism., Source ↗

Frode Weierud, a retired electrical engineer and cryptology archivist who maintains the Crypto Cellar database, validated the solution. He noted that the model operated with the proficiency of a professional cryptanalyst and archive researcher, completing in two days what typically requires weeks or months of human effort.

Additional breakthroughs

On September 21, cybersecurity executive Jack Willis employed Anthropic's Claude Opus model to solve a separate unsolved Enigma message. By providing the system with known officer signatures and contextual guidance, the model successfully recovered the plaintext.

With these recent successes, only a handful of unsolved Enigma messages remain in historical archives. As automated systems continue to demonstrate advanced capabilities in historical research and logical deduction, the remaining encrypted records may soon be fully understood.

Source: Original announcement

Worth a read?

Report

Comments