Description
The rot13 function (also known as Caesar cipher) is a very simple
encryption routine.
The alphabetical characters
are rotated 13 positions forward, e.g. the word "cat" becomes "png". Since the
Latin alphabet is composed by 26 characters, rotating two times a text string
by 13 characters will render to the original text. In other words, to obtain the
encoded or clear text, you might rotate 13 positions forward or backward each character.
The rot13 cipher routine is commonly used on the Usenet for masking potentially
offensive phrases, where you may arbitrally decide to decode them only if you really want
to read the hidden text.
» More information
|