STATION 25 / FIELD MANUAL
← Back to crypto libraryMonoalphabetic substitution
Substitution
A monoalphabetic substitution uses one fixed replacement for each letter. Its key is a permutation of the alphabet: every ciphertext letter appears once in the replacement row.
How to recognise it
Repeated plaintext letters stay repeated, and letter-pattern structure survives. Frequency counts, common short words and repeated word shapes can help infer an unknown alphabet. No single frequent symbol must necessarily mean E.
Worked example: encrypt CAB
Use this explicitly supplied permutation. It swaps A/B and C/D while leaving other letters unchanged:
Plain ABCDEFGHIJKLMNOPQRSTUVWXYZ
Cipher BADCEFGHIJKLMNOPQRSTUVWXYZ
C → D
A → B
B → A
Result: DBA
- Locate each input letter on the ordinary alphabet row.
- Copy its replacement from the row below.
- CAB becomes DBA. With the same key, CABB would become DBAA, preserving the double-letter pattern.
Work backwards: decrypt DBA
Find each ciphertext letter in the bottom row and read the letter above it: D → C, B → A, A → B. This gives CAB.
When the key is missing
Record tentative mappings in a two-row alphabet. Compare repeated patterns across words, use frequency counts as suggestions, and check that no two plaintext letters map to the same ciphertext letter. Test a hypothesis across the whole message before treating it as established.
Conventions and common mistakes
Our example key happens to undo itself; an arbitrary permutation usually does not. Always use the inverse mapping to decrypt. Frequency rankings fluctuate in short or specialised texts.
Related methods
- Keyword substitution — A memorable way to construct the replacement alphabet.
- Homophonic substitution — A related system with several symbols per letter.
Useful desk reference
English letter frequencies — Compare symbol counts and repeated-letter patterns.