1. Bazeries Cipher encoder
Text : ABCD efghi
Key : 123Solution:The Bazeries cipher is a cipher that combines transposition using a numeric key and substitution using two Polybius grids.
1. Spell out Key Number123 = One Hundred Twenty-Three
Remove duplicate letters and special characters : onehudrtwy
Append the remaining letters of the alphabet (merge j as i) : onehudrtwyabcfgiklmpqsvxz
Fill Grid-1 column by column (Alphabet a-z, where i=j)Grid-1 | 1 | 2 | 3 | 4 | 5 |
| 1 | a | f | l | q | v |
| 2 | b | g | m | r | w |
| 3 | c | h | n | s | x |
| 4 | d | i | o | t | y |
| 5 | e | k | p | u | z |
Fill Grid-2 row by row (Keyed Alphabet)Grid-2 | 1 | 2 | 3 | 4 | 5 |
| 1 | o | n | e | h | u |
| 2 | d | r | t | w | y |
| 3 | a | b | c | f | g |
| 4 | i | k | l | m | p |
| 5 | q | s | v | x | z |
Plaintext is divided into groups determined by the Number Key (123 = 1,2,3)
Each group is reversed.
Find position of each letter in Grid-1, then take same position letter in Grid-2.
| Number Key | 1 | 2 | 3 | 1 | 2 |
| Plaintext | a | bc | def | g | hi |
| Plaintext Reversed | a | cb | fed | g | ih |
| Ciphertext | o | ad | nqi | r | kb |
So finally
| Plaintext | : abcdefghi |
| Number Key | : 123 |
| Ciphertext | : oadnqirkb |
2. Bazeries Cipher encoder
Text : hello world
Key : 123Solution:The Bazeries cipher is a cipher that combines transposition using a numeric key and substitution using two Polybius grids.
1. Spell out Key Number123 = One Hundred Twenty-Three
Remove duplicate letters and special characters : onehudrtwy
Append the remaining letters of the alphabet (merge j as i) : onehudrtwyabcfgiklmpqsvxz
Fill Grid-1 column by column (Alphabet a-z, where i=j)Grid-1 | 1 | 2 | 3 | 4 | 5 |
| 1 | a | f | l | q | v |
| 2 | b | g | m | r | w |
| 3 | c | h | n | s | x |
| 4 | d | i | o | t | y |
| 5 | e | k | p | u | z |
Fill Grid-2 row by row (Keyed Alphabet)Grid-2 | 1 | 2 | 3 | 4 | 5 |
| 1 | o | n | e | h | u |
| 2 | d | r | t | w | y |
| 3 | a | b | c | f | g |
| 4 | i | k | l | m | p |
| 5 | q | s | v | x | z |
Plaintext is divided into groups determined by the Number Key (123 = 1,2,3)
Each group is reversed.
Find position of each letter in Grid-1, then take same position letter in Grid-2.
| Number Key | 1 | 2 | 3 | 1 | 2 | 3 |
| Plaintext | h | el | low | o | rl | d |
| Plaintext Reversed | h | le | wol | o | lr | d |
| Ciphertext | b | eq | yle | l | ew | i |
So finally
| Plaintext | : helloworld |
| Number Key | : 123 |
| Ciphertext | : beqylelewi |
This material is intended as a summary. Use your textbook for detail explanation.Any bug, improvement, feedback then
Submit Here