Skip to main content
CipherChronicle

Cipher comparisons "X vs Y"

Polybius square vs Tap code — the same grid, two channels

Polybius squareTap code
FamilyGridGrid
DifficultyBeginnerBeginner
Era~150 BCE, Ancient GreeceAntiquity (Polybius), revived by Vietnam POWs (1960s)
InventorPolybius (Greek historian)

They are presented as two separate ciphers, but the tap code is a Polybius square. The grid and logic are identical; only the way you transmit the coordinates changes.

A shared 5×5 grid

Both rest on a numbered 5×5 grid. Each letter sits in a cell and is coded by its row then its column. Since 25 cells aren’t enough for 26 letters, two are merged: I/J for the classic Polybius, C/K for the Vietnam POW tap code.

Write the coordinates, or tap them?

Polybius square: you write the coordinates. “A” = 11, “B” = 12… The message becomes a string of digits, made for paper, inscription, or torch signalling (its original ancient use).

Tap code: you knock the coordinates. One tap, pause, two taps = row 1, column 2 = B. No paper, no light — just sound. That’s what let prisoners of war communicate cell to cell through walls.

No key, no security

Neither has a secret key: the grid is standard. They are encodings, not strong ciphers. Their value lies elsewhere — transmission (at a distance, in the dark, without writing) and memorability (the grid fits in your head).

When to use which

  • Written puzzle, numeric coordinates, building block for a stronger cipher (ADFGX, Nihilist, Bifid) → Polybius square.
  • Sound or touch transmission, a “prison / escape” mood, a knocked message → tap code.
  • Real security → neither; add a genuine encryption layer.

← All comparisons