rot13


rot13, an Octave 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 computer code and data files described and made available on this web page are 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:

rot13_test

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

chrpak, an Octave code which works with characters and strings.

Source Code:


Last revised on 08 September 2022.