1. Caesar Cipher encoder
Text : ABCD efghi 123
Shift : 1
Alphabet : abcdefghijklmnopqrstuvwxyzSolution:The Caesar cipher is a simple substitution cipher, where each letter of a given text is replaced by a letter with a fixed number of positions down the alphabet
Alphabet = abcdefghijklmnopqrstuvwxyz
| 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+1) mod 26 | 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 | 0 |
| Ciphertext | 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 | a |
| Plaintext | : ABCD efghi 123 |
| Shift | : 1 |
| Ciphertext | : BCDE fghij 123 |
2. Caesar Cipher encoder
Text : hello world
Shift : 2
Alphabet : abcdefghijklmnopqrstuvwxyzSolution:The Caesar cipher is a simple substitution cipher, where each letter of a given text is replaced by a letter with a fixed number of positions down the alphabet
Alphabet = abcdefghijklmnopqrstuvwxyz
| 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+2) mod 26 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 0 | 1 |
| Ciphertext | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z | a | b |
| Plaintext | : hello world |
| Shift | : 2 |
| Ciphertext | : jgnnq yqtnf |
This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then