Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Exercise: ROT13

Implement a function that given a string will return its ROT13 encryption and given the encrypted string will return the original string. Characters that are not letters will remain the same.

e.g. "hello World!" is converted to "Uryyb Jbeyq!"