1. ROT-18 Cipher encoder
Text : ABCD efghi 12345
ROT Method : ROT-18 (a-z, 0-9)Solution:The ROT-18 cipher is a shift cipher, where (ROT-13) each letter is shifted by 13 positions down the alphabet 'A-Z' and (ROT-5) each digit is shifted by 5 positions down in 0123456789
ROT-18 = ROT-13 + ROT-5
ROT-13
| Plaintext | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
| x | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| (x+13) mod 26 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| Ciphertext | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | A | B | C | D | E | F | G | H | I | J | K | L | M |
ROT-5
| Plaintext Alphabet | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| Ciphertext Alphabet | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 |
| Plaintext | : ABCD efghi 12345 |
| Ciphertext | : NOPQ rstuv 67890 |
2. ROT-18 Cipher encoder
Text : hello world 56789
ROT Method : ROT-18 (a-z, 0-9)Solution:The ROT-18 cipher is a shift cipher, where (ROT-13) each letter is shifted by 13 positions down the alphabet 'A-Z' and (ROT-5) each digit is shifted by 5 positions down in 0123456789
ROT-18 = ROT-13 + ROT-5
ROT-13
| Plaintext | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
| x | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| (x+13) mod 26 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| Ciphertext | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | A | B | C | D | E | F | G | H | I | J | K | L | M |
ROT-5
| Plaintext Alphabet | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| Ciphertext Alphabet | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 |
| Plaintext | : hello world 56789 |
| Ciphertext | : uryyb jbeyq 01234 |
This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then