atbash


atbash, a MATLAB code which applies the Atbash substitution cipher to a string of text.

The Atbash cipher replaces each character by its reverse element in the alphabet. In particular 'A' becomes 'Z', 'B' becomes 'Y' and so on. Case is respected. Nonalphabetic characters are unchanged. The Atbash cipher is symmetric, so applying it to an enciphered string returns the original string.

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

atbash is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and a Python version.

Related Programs:

atbash_test

caesar, a MATLAB code which can apply a Caesar Shift Cipher to a string of text.

chrpak, a MATLAB code which works with characters and strings.

dictionary_code, a MATLAB code which demonstrates how a text file can be compressed and decompressed using a dictionary code.

filum, a MATLAB code which can work with information in text files.

monoalphabetic, a MATLAB code which can apply a monoalphabetic substitution cipher to a string of text.

rot13, a MATLAB code which can encipher a string using the ROT13 cipher for letters, and the ROT5 cipher for digits.

Source Code:


Last revised on 27 November 2018.