The Bazeries Cipher uses two Polybius squares. One of the squares features the alphabet written vertically in order. For the other square, choose a number less than a million, spell it out, and use it as the keyword for the other Polybius square, written horizontally. Finally, take the plaintext and split it into groups, with each group being the length of each digit in the random number. Reverse the text in each group. The normal alphabet Polybius square represents the plaintext letter, and the keyed horizontal Polybius square represents the ciphertext letter to replace it with.
Plaintext: Whoever has made a voyage up the Hudson must remember the Kaatskill mountains.
Random Number: 81257
Spelled out number: Eighty one thousand two hundred fifty seven
Plaintext Polybius:
A F L Q VB G M R WC H N S XD I O T YE K P U Z
Ciphertext Polybius:
E I G H TY O N U SA D W R FV B C K LM P Q X Z
Grouped Text:
W H O E V E R H / A / S M / A D E A V / O Y A G E U P / T H E H U D S O / N / M U / S T R E M / E M B E R T H / E K A A T S K I / L / L M / O U N T A / I N S
Grouped Text with Reversals:
H R E V E O H W / A / M S / V A E D A / P U E G A Y O / O S D U H E H T / N / U M / M E R T S / H T R E B M E / I K S T A A K E / L / M L / A T N U O / S N I
Ciphertext:
DUMTM CDSEN RTEMV EQXMO ELCCR VXDMD KWXNN MUKRD VUMYN MBPRK EEPMG NGEKW XCRWB
