
Playfair Cipher
Hướng dẫn
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.
Vật liệu cho bước này:
Graph Paper1 pad
Graphite Pencil Set1 bộPrepare 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.
Vật liệu cho bước này:
Cardstock Assorted Pack (50 Sheets)1 góiMeasure 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.
Vật liệu
3- 1 padTạm thời
- Tạm thời
- Tạm thời
Blueprint liên quan
Các blueprint này chia sẻ kiến thức — kỹ thuật, vật liệu hoặc nguyên tắc
CC0 Phạm vi công cộng
Bản thiết kế này được phát hành theo CC0. Bạn tự do sao chép, sửa đổi, phân phối và sử dụng cho bất kỳ mục đích nào mà không cần xin phép.
Hỗ trợ nhà sáng tạo bằng cách mua sản phẩm qua bản thiết kế, nơi họ nhận Hoa hồng nhà sáng tạo do nhà bán hàng đặt, hoặc tạo phiên bản mới và kết nối trong bản thiết kế riêng để chia sẻ doanh thu.

