The Atbash Substitution Cipher

**ATBASH**
is a MATLAB library 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.

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

**ATBASH** is available in
a MATLAB version.

CAESAR, a MATLAB library which can apply a Caesar Shift Cipher to a string of text.

CHRPAK, a MATLAB library which works with characters and strings.

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

FILUM, a MATLAB library which can work with information in text files.

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

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

- atbash_encrypt.m encrypts a string.
- timestamp.m prints the current HMSDMY date as a timestamp;

- atbash_test.m calls all the tests;
- atbash_test_output.txt the output file;

You can go up one level to the MATLAB source codes.