예술
뷰티 및 웰니스
공예
문화 및 역사
엔터테인먼트
환경
음식 및 음료
역공학
과학
스포츠
기술
웨어러블
Playfair Cipher
Pixel

작성자

Pixel

20. 8월 2026FI
0
0
0
0
0

Playfair Cipher

Encipher letters in PAIRS rather than one at a time, using a 5×5 grid built from a keyword. Find the two letters in the grid; if they sit in the same row take the letter to the right of each, in the same column take the letter below each, and otherwise take the opposite corners of the rectangle they define. Because the unit of encryption is a pair, single-letter frequency counting no longer aligns with anything — there are 600 possible pairs instead of 26 letters, and their frequencies are much flatter. Charles Wheatstone invented it in 1854; it carries the name of Lord Playfair, who promoted it. It needs no equipment beyond a memorised keyword, which is why it went to war three times.
중급
1 hour

안내

1

Build the keyed square

A 5×5 grid holds 25 cells for 26 letters, so two must share.

  1. Write your keyword into the grid, skipping any repeated letters.
  2. Fill the rest with the unused alphabet in order.
  3. Combine I and J into one cell.
The keyword is the entire key and it can be memorised, which is the design goal — nothing incriminating needs to be carried. Note the tail of the grid stays in alphabetical order, and that regularity is a known handhold for an analyst, so longer keywords are better.

이 단계의 재료:

Graph PaperGraph Paper1 pad
Graphite Pencil SetGraphite Pencil Set1 세트
2

Prepare the message into pairs

The text must be groomed before it can be enciphered.

  1. Split the message into pairs of letters.
  2. Where a pair would be a double letter, insert an X between them.
  3. If the last pair is short, pad with X.
Doubles must be broken because the rules cannot encipher a letter with itself. That insertion is a real cost — the ciphertext is longer than the plaintext, and the padding is a small regularity an analyst can look for.
3

Apply the three rules

Every pair falls into exactly one case.

  1. Same row — replace each with the letter to its right, wrapping around.
  2. Same column — replace each with the letter below, wrapping around.
  3. Rectangle — replace each with the letter in its own row at the other letter's column.
Encipher a passage, then decipher it back with the inverse rules (left, up, same rectangle) to confirm. The rectangle case handles the great majority of pairs, and it is where the mixing actually happens.

이 단계의 재료:

Cardstock Assorted Pack (50 Sheets)Cardstock Assorted Pack (50 Sheets)1
4

Measure what the pairing changes

Compare against the single-letter approaches in this catalogue.

  1. Encipher a long passage and tally single-letter frequencies. Chart it.
  2. Now tally the frequencies of PAIRS.
  3. Compare both against English references.
Single letters come out flat, so the counting method from the frequency-analysis blueprint does not align. Pair frequencies still carry structure — TH, HE and ER remain common as pairs — so an analyst with enough text works at the digraph level instead. The approach does not remove structure; it moves it up one level, which raises the amount of text required.
5

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.

재료

3

관련 블루프린트

이 블루프린트들은 지식을 공유합니다 — 기술, 재료 또는 원리

CC0 퍼블릭 도메인

이 블루프린트는 CC0로 공개되었습니다. 어떤 목적으로든 자유롭게 복사, 수정, 배포 및 사용할 수 있습니다.

제품 구매를 통해 메이커를 지원하세요. 판매자가 설정한 메이커 커미션 을 받거나, 이 블루프린트의 새로운 반복을 만들어 연결로 포함시킬 수 있습니다.

토론

(0)

로그인 하여 토론에 참여하세요

댓글 로딩 중...