ROT-13 is a substitution cypher where each letter is replaced with the letter after 13 positions in the alphabet. Similar to the Caesar Shift the encryption can be written as
and the decryption, for 26
letter alphabets is homomorphic to the encryption.