Try the simulator
Open the simulator →The Enigma machine was the rotor cipher used by Germany in the Second World War; the Bombe, designed by Alan Turing and Gordon Welchman at Bletchley Park, was the electromechanical machine used to break its messages. This project recreates both in a single interactive panel: a genuine three-rotor Enigma machine with historically accurate wiring (rotors I–V, reflector B) and a plugboard, used to encrypt a message; and a Bombe, used to try to break it, applying the same "golden rule" Turing relied on — on Enigma, no letter can ever encrypt to itself.
This is the second project published in AI-LAB: the entire simulator — cryptographic logic, interface and style — was generated through a dialogue with an Artificial Intelligence model, with no manual coding involved.
How it was built
The project was built with Claude by Anthropic, starting from a natural-language description of the desired result. The technical stack — HTML, CSS and JavaScript for the Enigma rotor logic, the plugboard and the Bombe's attack algorithm — was chosen and implemented entirely by the AI in a single self-contained file, with no server-side dependencies.
What the simulator shows
- Three-rotor Enigma machine, with rotor choice and order, starting position, ring setting and plugboard, to encrypt any message in real time on a keyboard-and-lampboard interface.
- Turing's Bombe: given a ciphertext and a "crib" (a guessed fragment of plaintext), the machine automatically scans possible alignments, discarding any where a letter would encrypt to itself.
- Direct link between the two modules: a message encrypted with Enigma can be sent to the Bombe with a single click, keeping the plaintext hidden for a realistic codebreaking exercise.
- Step-by-step execution log from the Bombe, explaining in plain language every contradiction found and any winning alignment.
Technical note
The rotor and reflector wirings reproduce the historical specifications of the Wehrmacht Enigma I; the Bombe's algorithm is a simplified educational version of the Turing-Welchman method, designed to illustrate its logical principle rather than to perform real cryptanalysis of modern systems.
AI-LAB publishes exploratory projects: this simulator is not part of Valuemate's commercial services portfolio.
Want to understand what AI can do for your business?
Let's talk about how Valuemate integrates Artificial Intelligence into Service Desk, Digital Workplace and Cybersecurity services.
Talk to an expert