ADFGVX Field Cipher — Bench tool
Published 24 Oct 2026 ·
ADFGVX is what happens when a general staff takes every good idea in this collection and stacks them. A six-by-six square carries the alphabet and the ten digits. Every character becomes a pair of letters drawn from just six symbols, chosen because they are hard to confuse in Morse. Then the whole thing is transposed with a columnar key. It was used by the German army on the Western Front in 1918 and it took the best French cryptanalyst of the war to break it.
- Era
- Modern
- Type
- Polyalphabetic
- Key space
- 36! square x columnar key
- Level
- Specialist
IWhat this tool does
The name is the symbol set: A, D, F, G, V, X. Six symbols give 36 combinations, and 36 cells hold 26 letters plus 10 digits with nothing left over.
| A | D | F | G | V | X | |
|---|---|---|---|---|---|---|
| A | L | O | 1 | 7 | 4 | 0 |
| D | 9 | M | 3 | Z | 8 | Q |
| F | K | 5 | C | W | 6 | P |
| G | E | 2 | B | Y | R | T |
| V | S | A | U | H | I | J |
| X | F | G | D | N | V | X |
A plaintext character becomes two symbols: the row letter first, then the column letter. The message LOOM1 produces AA AD AD DD AF.
Two things are happening at once. The fractionation has reduced a 36-symbol alphabet to a 6-symbol one, which is exactly what a signal officer wants — six distinguishable Morse patterns instead of thirty-six. And the substitution has removed the letter frequencies, so the columnar transposition that follows has no frequencies to exploit in the first place.
The bench note the square is scrambled from a keyword and the transposition uses a second keyword, which is why the tool's key field takes two words.
IIThe key
Two independent layers, and both must be defeated.
The square is a permutation of 36 symbols, built from a keyword. The transposition is a columnar cipher with its own keyword. If the attacker recovers the square but not the transposition, they still have the digit-pair stream; if they recover the transposition but not the square, they have a monoalphabetic substitution over 36 symbols, which is not trivial but is within reach of a patient analyst with enough traffic.
The composition is the point. ADFGVX's strength does not come from either layer — it comes from the fact that breaking one gives the attacker nothing until they break the other.
That is the general shape of modern cryptography, and ADFGVX is the first cipher in this collection to state it clearly. It is also why the cipher was breakable in practice: the French had enough intercepted traffic, and enough operator carelessness in the transposition keys, to attack both layers at once.
IIIWhat it will not protect
Historical ciphers are for study and recreation and are not suitable for protecting real information. The full analysis is in the cipher entry.
Read the full entry, with deciphering steps and weakness analysis →