Search for a tool
Atbash Cipher

Tool to decrypt/encrypt with Atbash (Mirror code), a substitution cipher named from the hebraic alphabet that substitute the first letter of the alphabet with the last one, the second letter, with the second last one, and so on.

Results

Atbash Cipher -

Tag(s) : Substitution Cipher

Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Thanks to your feedback and relevant comments, dCode has developed the best 'Atbash Cipher' tool, so feel free to write! Thank you!

# Atbash Cipher

## Atbash Encoder

### How to encrypt using Atbash cipher

Atbash encryption (also called mirror cipher or backwards alphabet or reverse alphabet) uses a substitution alphabet and its reciprocal, a combination of the normal alphabet and its reverse alphabet (mirrored).

Example: The latin alphabet ABCDEFGHIJKLMNOPQRSTUVWXYZ and its reverse: ZYXWVUTSRQPONMLKJIHGFEDCBA are combine in the substitution table:

 Normal ABCDEFGHIJKLMNOPQRSTUVWXYZ Reverse ZYXWVUTSRQPONMLKJIHGFEDCBA

Encryption consists in replacing letters from the first with letters from the other one, with is equivalent to replace the first letter of the alphabet A with the last one Z, the second one B with the penultimate Y etc.

Example: MIRROR becomes NRIILI

### How to decrypt Atbash cipher

Decryption is identical to encryption because of the reversible alphabet (due to the symmetry of the backwards alphabet)

Example: ZGYZHS is decrypted ATBASH

dCode offers an encoder and a decoder, but they are actually one and the same Atbash converter.

### How to recognize an Atbash ciphertext?

An Atbash ciphertext has a coincidence index similar to an unencrypted text.

If the encryption used the classical latin alphabet, letters V,G,R,L,M appear the most frequently.

Otherwise the presence of Hebrew characters or a reference to the Dead Sea can be a clue.

The notions of mirror, reflection, axis, direction or sense are also clues.

### Why is this cipher called 'Atbash'?

In the Hebraic alphabet, aleph (first letter) was replaced by tav (last letter) and beth (second letter) with shin (second last), etc. Initials make A,T,B,SH.

### What are Atbash variants?

Atbash is adaptable to any alphabet, so using the Hebrew alphabet is possible.

The atbash encryption is equivalent to an affine cipher with $a = -1$ and $b = -1$

### When Atbash was invented?

Atbash would have been imagined between -1000 and -500 (before Christ).

## Source code

dCode retains ownership of the online 'Atbash Cipher' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any 'Atbash Cipher' algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any 'Atbash Cipher' function (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and no data download, script, copy-paste, or API access for 'Atbash Cipher' will be for free, same for offline use on PC, tablet, iPhone or Android ! dCode is free and online.

## Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!