Computer ScienceAdvanced25 mins

WWII Enigma Machine Simulator Sandbox

Experience the spinning rotors, plugboard swaps, and fatal mathematical flaw of the German military Enigma machine.

Telemetry Cockpit Live Simulator

Target Objectives

  • Trace logic flow and algorithm behavior step by step.
  • Measure performance and complexity trade-offs.
  • Experiment with structures and systems in a safe sandbox.
Framework: HTML5 / WebGLOpenLabs Sandbox

Theory & Core Foundations

The Enigma Machine was an electro-mechanical rotor cipher machine. Each keypress stepped the right rotor and sent current through 3 scrambling rotors, a reflector, and back through the rotors to light up a lampboard bulb.

Mathematical Foundations

Permutation group theory and reversible rotor circuits.

E(x) = P^{-1} R_1^{-1} R_2^{-1} R_3^{-1} U R_3 R_2 R_1 P(x)
E(x) \neq x \quad \text{(Fatal Flaw: Never encrypts to itself)}

How The Simulation Works

Press keyboard keys or use the auto-typer to watch rotors spin and bulbs glow.

Knowledge Graph & Related Concepts

Frequently Asked Questions

Learning Objectives

  • Step through 3 rotating mechanical rotors with turnover notches.
  • Trace the electrical current through the plugboard and reflector.
  • Understand why the impossibility of self-encryption enabled Turing's Bombe to break Enigma.

Real World Applications

  • WWII military intelligence
  • Birth of modern computer science and Bletchley Park codebreaking