previous Menunext

ROT-X

Functionality and example

ROT-X is a substitution cipher (also called Caesar's cipher) which is a simple way to encode text. This is achieved by subsituting letters, e.g. ROT-13 will subtitute a letter of the alphabet with another letter which is 13 places further ahead in the alphabetic order. If the rotation will exceed the letter Z one will simply go on with the letter A. Therefor using this method “HELLO” will become “URYYB”. In this case the letter “O” will be substituted by the letter “B” since the letter Z will be exceeded and the 13th letter now will be B.

All hints at geocaching.com are enciphered using ROT-13.

Quelle: Wikipedia

Operation



All following functions will branch out to an identical input system therefor there will be only a documention for one method.

Input
  1. ROT5 (only for numbers)
  2. ROT13 (only for text)
  3. ROT18 (for both text and numbers)
  4. ROT47 (for text, numbers and special characters)
Output

Implementation of strings with different number of rotations



Input
  1. The characters to be converted
Output
The characters after using the respective rotation method