Atbash

Atbash (Hebrew: אתבש; also transliterated Atbaš) is a monoalphabetic substitution cipher originally used to encode the Hebrew alphabet. It can be modified for use with any known writing system with a standard collating order.

The Cipher

The Atbash cipher is a particular type of monoalphabetic cipher formed by taking the alphabet (or abjad, syllabary, etc.) and mapping it to its reverse, so that the first letter becomes the last letter, the second letter becomes the second to last letter, and so on. For example, the Latin alphabet would work like this:

Plain ABCDEFGHIJKLMNOPQRSTUVWXYZ
Cipher ZYXWVUTSRQPONMLKJIHGFEDCBA

Due to the fact that there is only one way to perform this, the Atbash cipher provides no communications security, as it lacks any sort of key. If multiple collating orders are available, which one was used in encryption can be used as a key, but this does not provide significantly more security.

History

The name derives from the first, last, second, and second to last Hebrew letters (Aleph-Tav-Beth-Shin).

The Atbash cipher for the modern Hebrew alphabet would be:

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

In the Bible

Several Biblical verses are described by commentators as being examples of Atbash:

Examples

A few English words also 'Atbash' into other English words: "irk"="rip", "low"="old", "hob"="sly", "hold"="slow", "holy"="slob", "horn"="slim", "glow"="told", "grog"="tilt" and "zoo"="all". Some other English words 'Atbash' into their own reverses, e.g., "wizard" = "draziw."

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):

This may be simplified to:

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:

See also

References

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.