rot13


rot13, a Python code which is given a string and applies the ROT13 cipher to characters and the ROT5 cipher to digits.

For example, we have:

        Input:                      Output:
 
        abcdefghijklmnopqrstuvwxyz  nopqrstuvwxyzabcdefghijklm
        Cher                        Pure
        James Thurston Howell       Wnzrf Guhefgba Ubjryy
        0123456789                  56789012345
      

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

rot13 is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version and a Python version.

Related Programs:

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

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

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

dictionary_code, a Python code which compresses or decompresses a text file using a dictionary code.

filum, a Python code which works with information in text files.

monoalphabetic, a Python code which applies a monoalphabetic substitution cipher to a string of text.

Source Code:


Last revised on 01 February 2020.