STATION 25 / FIELD MANUAL
← Back to crypto libraryKeyword substitution
Substitution
A keyword substitution constructs a mixed alphabet from a memorable word. Remove duplicate keyword letters, then append every unused alphabet letter in normal order. The resulting row maps ordinary A–Z to ciphertext.
How to recognise it
It preserves repeated-letter patterns and frequencies. A keyword clue may supply the alphabet, but some puzzles use different keyword-construction rules. The ciphertext itself resembles any fixed substitution.
Worked example: encrypt CAT with ZEBRA
ZEBRA has no repeated letters. Append unused A–Z letters:
Plain ABCDEFGHIJKLMNOPQRSTUVWXYZ
Cipher ZEBRACDFGHIJKLMNOPQSTUVWXY
C → B
A → Z
T → S
Result: BZS
- Keep Z,E,B,R,A once each at the start.
- Walk through A–Z and append letters not already included.
- Read C, A and T in the top row and copy B, Z and S below them. Result: BZS.
Work backwards: decrypt BZS
Look for ciphertext letters in the bottom row, then read the letters directly above them. B → C, Z → A, S → T, recovering CAT.
Conventions and common mistakes
For a keyword such as LETTER, keep only its first occurrences: LETR. Do not append duplicates or leave a letter out. Reversing which row contains the keyword alphabet changes the encryption direction. This example uses all 26 letters without merging I/J.
Related methods
- Monoalphabetic substitution — The general family of fixed letter permutations.
- Playfair — A keyed alphabet can also fill a cipher square.
Useful desk reference
English letter frequencies — Compare symbol counts and repeated-letter patterns.