Writing a ROT13 Encoder

ROT13 short for Rotate by 13 places, is a simple substitution cipher, by shifting all letters of the alphabet 13 places forward we encode a message into something unreadable, it’s a simple form of encryption based on Caesar’s cipher that existed since 1st century BC. For example the letter A becomes an N because we went forward 13 letters, repeat this for every character in a given string and you got basic encryption....

June 9, 2024 · 6 min