Secret codes

Atbash

Date: c. 600 BCPlace: JerusalemWho?: Hebrew scribes

The alphabet turned inside out: A becomes Z, B becomes Y

Substitution ciphers
AZNMBYOLCXPKDWQJEVRIFUSHGTTGHSUFIRVEJQWDKPXCLOYBMNZAA ↔ ZBONJOUR → YLMQLFI
Illustration drawn for the site

In brief

Atbash is one of the oldest known ciphers. It replaces the first letter of the Hebrew alphabet with the last, the second with the second-to-last, and so on. Traces of it are found in the Book of Jeremiah, in the Hebrew Bible.

The story

Its name sums up the method: in Hebrew, the first letter, aleph (A), is replaced by the last, tav (T); the second, beth (B), by the second-to-last, shin (Sh). A-T-B-Sh gives “atbash”. In the Book of Jeremiah, written around the 6th century BC, the word “Sheshach” stands for Babel, that is, Babylon.

Atbash was probably not meant to hide military secrets: it was more a way of veiling a name or playing with letters. It has no key: anyone who knows the rule can decipher it. But it foreshadows the idea behind all substitutions: replacing each letter with another according to a fixed rule.

Example

Did you know?

Atbash is its own key: encrypting a message twice brings back the original. A becomes Z, then Z becomes A again.

Sources: D. Kahn, The Codebreakers, 1967 (rev. ed. 1996); S. Singh, The Code Book, 1999; F. L. Bauer, Decrypted Secrets, 4th ed., 2007; C. P. Bauer, Secret History: The Story of Cryptology, 2nd ed., 2021; texts written for this site.

In the same family: Substitution ciphers