Atbash Cipher

Work in progress. This note is still being written and incomplete.

1 min read Last updated Tue Aug 11 2026 04:59:37 GMT+0000 (Coordinated Universal Time)

Encryption replaces each letter in the alphabet with the letter at its mirrored position, counting from the opposite end.

c=25mmod26c = 25 - m \mod 26

Here mm is the plaintext letter, encoded as an integer 0 (a) to 25 (z).

Originally devised for the Hebrew alphabet, then applied to Latin and other alphabets.

Breaking the Atbash Cipher

There is no key to search: the mapping is fixed, so recovering the plaintext is a single substitution away once Atbash is suspected.

Was this helpful?