STATION 25 / FIELD MANUAL

← Back to crypto library

Keyword 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
  1. Keep Z,E,B,R,A once each at the start.
  2. Walk through A–Z and append letters not already included.
  3. 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.

Useful desk reference

English letter frequencies — Compare symbol counts and repeated-letter patterns.

Support this project

Enjoying Advent of Cypher? If you'd like to support the project and help keep it running, you can make a small donation. Completely optional, always appreciated.