Rotates letters through the alphabet. ROT13 shifts each letter by 13, so running it twice gives back the original text. It is the traditional way to hide spoilers and puzzle answers, not a way to protect anything.
Other modes:
- Caesar with any shift from -25 to 25. Decode applies the opposite shift. Optionally shift digits too.
- ROT18 combines ROT13 for letters with ROT5 for digits.
- ROT47 rotates every printable ASCII character from
!to~, so punctuation and digits are scrambled as well.
Characters outside the Latin alphabet (accents, other scripts, emoji) pass through unchanged.