- How does the rail fence work?
- Write text in a zig-zag pattern across N rails, then read off each rail. 'HELLO' on 2 rails: HLO / EL → HLOEL.
- What's the key?
- The number of rails (2+). More rails make the pattern more complex but the cipher is still trivially breakable — try all rail counts up to your text length.
- Is it used anywhere?
- CTFs, puzzle hunts, history teaching. Was used by the American Civil War but broken with pen-and-paper analysis.
- How do I decrypt without the key?
- Try each rail count from 2 to half the text length. One will produce readable English; that's the key. Cryptanalysis by exhaustive search.