
Playfair Cipher
Istruzioni
Build the keyed square
Build the keyed square
A 5×5 grid holds 25 cells for 26 letters, so two must share.
- Write your keyword into the grid, skipping any repeated letters.
- Fill the rest with the unused alphabet in order.
- Combine I and J into one cell.
Materiali per questo passaggio:
Graph Paper1 pad
Graphite Pencil Set1 setPrepare the message into pairs
Prepare the message into pairs
The text must be groomed before it can be enciphered.
- Split the message into pairs of letters.
- Where a pair would be a double letter, insert an X between them.
- If the last pair is short, pad with X.
Apply the three rules
Apply the three rules
Every pair falls into exactly one case.
- Same row — replace each with the letter to its right, wrapping around.
- Same column — replace each with the letter below, wrapping around.
- Rectangle — replace each with the letter in its own row at the other letter's column.
Materiali per questo passaggio:
Cardstock Assorted Pack (50 Sheets)1 confezioneMeasure what the pairing changes
Measure what the pairing changes
Compare against the single-letter approaches in this catalogue.
- Encipher a long passage and tally single-letter frequencies. Chart it.
- Now tally the frequencies of PAIRS.
- Compare both against English references.
History and context
History and context
Charles Wheatstone invented it in 1854 — the same Wheatstone as the bridge and the stereoscope elsewhere in this catalogue. Lyon Playfair, Baron Playfair of St Andrews, promoted it to the Foreign Office and to the military, and his name stuck to it. The British War Office reportedly rejected it at first as too complicated for field use; Wheatstone offered to show that three out of four boys from a nearby school could learn it in fifteen minutes.
It served in the Boer War, the First World War and the Second, and Australian forces used it in the Pacific. Its niche is precise: tactical messages whose value expires within hours, sent by people with no equipment, in conditions where carrying a code book is a liability. For that region it was well chosen.
Where it sits relative to its neighbours: a fixed single-letter substitution needs very little text to read; Playfair needs substantially more because the unit is a pair; a polyalphabetic method like Vigenère moves the mapping instead; and a one-time pad removes the structure entirely. Each is a different trade between usability, key handling and how long the message must stay private — which is the useful way to compare them.
Its documented limits are the padding X's, the alphabetical tail of the grid, and the fact that a pair never enciphers to itself. All three were used by analysts, and Lord Playfair's own claim that it was unbreakable was never true — but it did not need to be. It needed to outlast the tactical value of the message, and usually did.
Materiali
3- 1 padSegnaposto
- 1 setSegnaposto
- 1 confezioneSegnaposto
Blueprint correlati
Questi blueprint condividono conoscenze — tecniche, materiali o principi
CC0 Pubblico dominio
Questo progetto è rilasciato sotto CC0. Sei libero di copiare, modificare, distribuire e utilizzare quest'opera per qualsiasi scopo, senza chiedere permesso.
Supporta il Maker acquistando prodotti tramite il suo progetto dove guadagna una Commissione Maker stabilita dai venditori, oppure crea una nuova iterazione di questo progetto e includilo come collegamento nel tuo progetto per condividere i ricavi.

