1. Multiplicative Cipher encoder
Text : ABCD efghi
Multiplication Key : 3
Alphabet : abcdefghijklmnopqrstuvwxyzSolution:A multiplicative cipher encrypts a message by multiplying each letter's numerical value (0-25) by a fixed key (which is coprime to 26) and the corresponding letter is substituted.
Alphabet = abcdefghijklmnopqrstuvwxyz
| Letter | 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 |
| Number | 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 |
Each letter is shifted down based on the key letter
| Plaintext | A | B | C | D | | e | f | g | h | i |
Text Value (2) | 0 | 1 | 2 | 3 | | 4 | 5 | 6 | 7 | 8 |
| ((2) * 3) Mod 26 | 0 | 3 | 6 | 9 | | 12 | 15 | 18 | 21 | 24 |
| Ciphertext | A | D | G | J | | m | p | s | v | y |
| Plaintext | : ABCD efghi |
| Multiplication Key | : 3 |
| Ciphertext | : ADGJ mpsvy |
2. Multiplicative Cipher encoder
Text : hello world
Multiplication Key : 3
Alphabet : abcdefghijklmnopqrstuvwxyzSolution:A multiplicative cipher encrypts a message by multiplying each letter's numerical value (0-25) by a fixed key (which is coprime to 26) and the corresponding letter is substituted.
Alphabet = abcdefghijklmnopqrstuvwxyz
| Letter | 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 |
| Number | 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 |
Each letter is shifted down based on the key letter
| Plaintext | h | e | l | l | o | | w | o | r | l | d |
Text Value (2) | 7 | 4 | 11 | 11 | 14 | | 22 | 14 | 17 | 11 | 3 |
| ((2) * 3) Mod 26 | 21 | 12 | 33=7 | 33=7 | 42=16 | | 66=14 | 42=16 | 51=25 | 33=7 | 9 |
| Ciphertext | v | m | h | h | q | | o | q | z | h | j |
| Plaintext | : hello world |
| Multiplication Key | : 3 |
| Ciphertext | : vmhhq oqzhj |
This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then