Atbash

Share on Facebook Share on Twitter Email

A cryptic device in which the first letter of the Hebrew alphabet (˒ālep) is replaced by the last (tāw), the second (bêt) by the second from last (šîn), and so forth. In the Masoretic text of the Hebrew Bible this device occurs in Jeremiah 25.26 and 51.41, where Sheshach (ššk) stands for Babylon (bbl), and in 51.1, where Leb-qamai (lb-qmy) stands for Chaldeans (kśdym). This code is apparently not original, since the Septuagint gives the plain forms in chap. 51 (the key words in 25.26 are not found in the Greek), and both names are used frequently elsewhere in Jeremiah. The reason for the code in these cases is unknown.

Atbash is a simple substitution cipher for the Hebrew alphabet. It consists in substituting aleph (the first letter) for tav (the last), beth (the second) for shin (one before last), and so on, reversing the alphabet. In the Book of Jeremiah, לב קמי Lev Kamai (51:1) is Atbash for כשדים Kasdim (Chaldeans), and ששך Sheshakh (25:26; 51:41) is Atbash for בבל Bavel (Babylon). It has been associated with the esoteric methodologies of Jewish mysticism's interpretations of Hebrew religious texts as in the Kabbalah.

The Atbash cipher for the modern Hebrew alphabet would be:

 Plain:  אבגדהוזחטיכלמנסעפצקרשת
 Cipher: תשרקצפעסנמלכיטחזוהדגבא

An Atbash cipher for the Latin alphabet would be as follows:

 Plain:  abcdefghijklmnopqrstuvwxyz
 Cipher: ZYXWVUTSRQPONMLKJIHGFEDCBA

An easier, simpler and faster way of doing this is:

 First 13 letters: A|B|C|D|E|F|G|H|I|J|K|L|M
 Last 13 Letters:  Z|Y|X|W|V|U|T|S|R|Q|P|O|N

Atbash can also be used to mean the same thing in any other alphabet as well. This is a very simple substitution cipher.

For example, in Atbash, the letters "nlmvb" indicate the word "money".

A few English words 'Atbash' into other English words. For example, "hob"="sly", "hold"="slow", "holy"="slob", "horn"="slim", "zoo"="all", "irk"="rip", "low"="old", "glow"="told", and "grog"="tilt".

It is a very weak cipher because it only has one possible key, and it is a simple monoalphabetic substitution cipher. However, this may not have been an issue in the cipher's time.

Relationship to the affine cipher

The Atbash cipher can be seen as a special case of the affine cipher.

Under the standard affine convention, an alphabet of m letters is mapped to the numbers 0, 1, .., m-1. (The Hebrew alphabet has m=22, and the standard Latin alphabet has m=26). The Atbash cipher may then be enciphered and deciphered using the encryption function for an affine cipher, by setting a=b=(m-1)

\mbox{E}(x)=\mbox{D}(x)=((m-1)x+(m-1))\mod{m}

This may be simplified to:


\begin{align}
\mbox{E}(x) & = (m-1)(x+1)\mod{m} \\
     & = -(x+1)\mod{m} \\
\end{align}


If, instead, the m letters of the alphabet are mapped to 1, 2, .., m, then the encryption and decryption function for the Atbash cipher becomes:

\mbox{E}(x) = (-x\mod{m})+1

See also

External links


Post a question - any question - to the WikiAnswers community:

Copyrights: