The Atbash Cipher is a classical monoalphabetic substitution cipher that works by reversing the standard alphabet. In its simplest form, A is replaced by Z, B by Y, C by X, and so on, effectively mirroring the alphabet around its midpoint. This simple inversion makes it a symmetric cipher: encryption and decryption are identical operations. The Atbash Cipher has roots in ancient Hebrew cryptography but has been adapted for use with the Latin alphabet and other scripts.

Conceptually, it is related to substitution ciphers such as the Simple Substitution Cipher and demonstrates the basic principle of a fixed, deterministic mapping. While trivially breakable by modern cryptanalysis, it illustrates the historical value of substitution techniques and the concept of reversibility in symmetric ciphers.

Atbash Cipher: Encoding

To encrypt, each plaintext letter is replaced by its counterpart in the reversed alphabet. For example, the word “HELLO” is encoded as:

Plaintext:  H  E  L  L  O
Reversed:   S  V  O  O  L

Ciphertext: SVOOL

Spaces and punctuation are typically left unchanged. Since the Atbash Cipher is symmetric, the same process is used for decoding.

Atbash Cipher: Decoding

Decoding simply mirrors the letters back through the reversed alphabet. Using the previous example:

Ciphertext: SVOOL
Reversed:   H  E  L  L  O

Plaintext: HELLO

The operation is identical to encoding, highlighting the simplicity and reversibility of the Atbash method.

Atbash Cipher: Notes

The Atbash Cipher is historically significant as one of the earliest known substitution ciphers. Its fixed mapping makes it predictable but provides a clear example of symmetric substitution, similar in concept to the A1Z26 Cipher. It serves as a teaching tool for understanding letter inversion, basic cryptography, and the conceptual foundations that later enabled more sophisticated polyalphabetic ciphers like the Vigenère Cipher.

Atbash Cipher