STATION 25 / FIELD MANUAL
← Back to crypto libraryAtbash
Substitution
Atbash pairs the first letter of the alphabet with the last, the second with the second-last, and so on. There is no adjustable shift or keyword in this A–Z version.
How to recognise it
Repeated-letter patterns and word lengths remain intact. Because the mapping is fixed, testing a few letters is enough to try this hypothesis. Ciphertext appearance alone does not distinguish it from other substitutions.
Worked example: encrypt CAT
Plain ABCDEFGHIJKLMNOPQRSTUVWXYZ
Cipher ZYXWVUTSRQPONMLKJIHGFEDCBA
C → X
A → Z
T → G
Result: XZG
- Locate C in the normal alphabet; its opposite is X.
- A is opposite Z, and T is opposite G.
- Join the replacements: XZG.
Work backwards: decrypt XZG
Use the exact same mapping: X → C, Z → A, G → T. The result is CAT. Each pair works in both directions, which is why applying Atbash twice restores the input.
Conventions and common mistakes
Use the same alphabet at both ends. This reference uses all 26 English letters, with I and J separate. Do not merge I/J merely because another cipher uses a 5×5 square. An Atbash alphabet is reversed, not rotated like a Caesar alphabet.
Related methods
- Caesar — Compare reversing an alphabet with rotating it.
- Monoalphabetic substitution — Both preserve repeated-letter patterns.
Useful desk reference
English letter frequencies — Compare symbol counts and repeated-letter patterns.