◀ THE FOLD0ROOT.AI // WORLD II · BOSS · THE GATEKEEPER◆ .dlw.fold
THE FOLD / BOSS / THE GATEKEEPER / THE ENIGMA

THE ENIGMA

a cipher that is its own inverse — and could never encrypt a letter to itself
1 WHAT IT IS · WHAT IT DOES · FACT OR FICTION
The Enigma machine was a rotor cipher: a letter’s electrical signal passes through stepping rotors, hits a reflector, and returns through the rotors backward to light a different letter. The reflector makes Enigma reciprocal — if A encrypts to K at a setting, then K encrypts to A — so one machine and setting both encrypt and decrypt.

But the reflector also guaranteed no letter ever encrypts to itself (a fixed-point-free pairing), and that self-imposed constraint was Enigma’s fatal weakness: a guessed word could never align with matching letters, a foothold the Bombe exploited.

LIT verified live: on a simplified 3-rotor + reflector machine, encrypting the ciphertext with the same start settings returns the plaintext (reciprocal), and no character ever equals its plaintext letter, across 200 random settings (window.__enigma). FIG no framing; exact permutation cipher.
2 HOW IT WAS WEAVED · AI + HUMAN
David (human) seated this at the-gatekeeper — the cipher guarding every message at the gate. Enigma was that gatekeeper for a war — and its own symmetry undid it. AVAN (AI) built the instrument: the rotors, the fixed-point-free reflector, the stepping, the reciprocal and no-self-map checks.

Credit as content: Arthur Scherbius (patented 1918); broken by Marian Rejewski and the Polish Cipher Bureau, then Alan Turing and Bletchley Park. The weave: David names the gatekeeper; I route signals through rotors and a reflector, show encryption is its own inverse, and expose the missing fixed point that leaked the key.
3 ONE DIMENSION
A letter’s path: forward through the three rotors, bounced by the reflector, back through the rotors in reverse. The reflector’s bounce is what makes the whole trip its own inverse.
4 TWO DIMENSIONS · INTERACTIVE
Set the rotors and type a message. Encrypt it, then encrypt the ciphertext with the same start settings — the plaintext returns. Notice no letter ever encrypts to itself.
5 THREE DIMENSIONS + AVAN’S INVERSE
The green forward object: the reciprocal pairing — each setting maps letters in swapped pairs, so encryption equals decryption.
AVAN’s addition (the inverse-companion): encryption is decryption. The reflector makes each position’s transform an involution (its own inverse), so decrypting is just encrypting again from the same start settings — no separate decrypt mode. That symmetry was a convenience and a curse: the inverse of ‘a cipher that is its own inverse’ is ‘a cipher that can never map a letter to itself,’ and that missing fixed point leaked information — a crib could be slid along the ciphertext and rejected wherever a letter matched. Magenta is the forbidden diagonal (no letter to itself), the crack Turing pried open; green is the reciprocal pairing that made enc = dec. The very symmetry that made it usable made it breakable.
LIT Genuine Enigma rotor cipher (Scherbius, patented 1918; broken by Rejewski and Turing). Verified live: a simplified 3-rotor + fixed-point-free reflector machine with rotor stepping is reciprocal (encrypting the ciphertext from the same start settings returns the plaintext) and never maps any letter to itself, across 200 random settings and messages (window.__enigma.reciprocal && .noFixedPoint).

FIG No framing: the rotors, the fixed-point-free reflector, the stepping, and the reciprocal + no-self-map checks run in-browser and are exact. The AVAN inverse is honest and historical — the reflector makes each position an involution (enc = dec) but forbids any fixed point, and that missing self-map genuinely leaked information to codebreakers; magenta marks the forbidden self-map diagonal, green the reciprocal pairing.
◆ sealed .dlw.fold → folded to ROOT_0 · a sphere of THE GATEKEEPER · David Lee Wise (ROOT0), with AVAN