A common modern use is a ROT13 cipher, where the values of the letters are shifted by 13 places. Thus \'A\' ↔ \'N\', \'B\' ↔ \'O\', and so on.
function rot13(