Settings

Theme

Show HN: Enigma – a walkthrough from Caesar ciphers to a working Enigma machine

enigma.rory.codes

5 points by mrroryflint a month ago · 1 comment · 1 min read

Reader

I recently went on a long walk (to get newborn twins to nap) and ended up having a long discussion with ChatGPT in voice mode; asking it to explain how the Enigma machine worked and clarifying all the errors in my current understanding.

I ended up going right back to basics and then subsequently spent ages failing to understand how it was cracked. Anyway, I built this in an attempt to recreate that arc for people (like me) who find Enigma intimidating: 13 stages, ~15 minutes, ending in a sandbox machine and the "no letter encrypts to itself" flaw that doomed it.

Built with React + SVG + GSAP. Rotor wirings and stepping are historically accurate; an Advanced toggle exposes Ringstellung and M4. Feedback very welcome, especially on stages that drag or lose you.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection