golang-web-dev
golang-web-dev copied to clipboard
rot13 fix and extending functionality
According to wikipedia rot13 should transform just a Latin letters a-z and A-Z. Everything else should be left untouched:
- numbers
- punctuation
- whitespaces
- non-Latin letters
- etc.
So, improved base rot13 function to transform lower- and uppercase Latin letters only. Please check.