Performs a ROT13 transformation on a string and returns the resulting string.

Produces a result similar to the PHP function str_rot13()

The ROT13 transformation consists of a simple shift of each Latin letter by 13 positions in the alphabet, the remaining characters are not changed. The reverse conversion is performed by the same function, since passing the encoded string as an argument will return its original version.