Home > College Algebra > Ciphers > Bazeries Cipher (encoder / decoder) example

60. Bazeries Cipher (encoder / decoder) example ( Enter your problem )

1. Examples





1. Bazeries Cipher encoder

Text : ABCD efghi
Key : 123


Solution:
The Bazeries cipher is a cipher that combines transposition using a numeric key and substitution using two Polybius grids.

1. Spell out Key Number
123 = 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
12345
1aflqv
2bgmrw
3chnsx
4dioty
5ekpuz


Fill Grid-2 row by row (Keyed Alphabet)
Grid-2
12345
1onehu
2drtwy
3abcfg
4iklmp
5qsvxz

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 Key12312
Plaintextabcdefghi
Plaintext Reversedacbfedgih
Ciphertextoadnqirkb

So finally
Plaintext : abcdefghi
Number Key : 123
Ciphertext : oadnqirkb

2. Bazeries Cipher encoder

Text : hello world
Key : 123


Solution:
The Bazeries cipher is a cipher that combines transposition using a numeric key and substitution using two Polybius grids.

1. Spell out Key Number
123 = 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
12345
1aflqv
2bgmrw
3chnsx
4dioty
5ekpuz


Fill Grid-2 row by row (Keyed Alphabet)
Grid-2
12345
1onehu
2drtwy
3abcfg
4iklmp
5qsvxz

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 Key123123
Plaintexthelloworld
Plaintext Reversedhlewololrd
Ciphertextbeqylelewi

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





Share this solution or page with your friends.
 
 
Copyright © 2026. All rights reserved. Terms, Privacy
 
 

.