Exhibit 34 of 172 Vietnam War · earlier precedents

Tap Code

5×5 grid, knuckles on a wall — POWs communicating through prison cells

Frequency analysis · Grid deduction

Introduced to fellow POWsCarlyle Harris · Vietnam, 1965
Year1965 Vietnam use; not an invention date
Key Type5×5 Polybius grid (no key)
Broken ByFrequency analysis · Grid deduction
Modern LessonNon-electronic covert communication

Why This Matters

American POWs in Vietnam used the Tap Code to communicate through prison walls, coordinate resistance, and sustain morale for years of captivity. It requires no materials, no equipment — only a shared knowledge of the Polybius grid.

Historical Context

Carlyle “Smitty” Harris taught an existing tap code to fellow American POWs in Vietnam in 1965. The U.S. Air Force’s account identifies it as an older communication method, rather than an invention by Harris or by Korean War prisoners. It requires no materials, no equipment, and no preparation — only a shared knowledge of the 5×5 grid. POWs at the Hanoi Hilton (Hoa Lo Prison) used it to maintain communication, coordinate resistance, share intelligence, and sustain morale throughout years of imprisonment.

Senator John McCain and other Vietnam POWs described the Tap Code as essential to survival. The system was simple enough to learn from other prisoners through tapped tutorials through walls.

How It Works
5×5 grid (C=K, no duplicate):
   1  2  3  4  5
1  A  B  C  D  E
2  F  G  H  I  J
3  L  M  N  O  P
4  Q  R  S  T  U
5  V  W  X  Y  Z

Each letter = two groups of taps:
Row first, then column
Pause between groups, longer pause between letters

H = row 2, col 3 = tap-tap · tap-tap-tap
E = row 1, col 5 = tap · tap-tap-tap-tap-tap

Users can agree on abbreviations to reduce tapping.
The grid itself does not define a standard abbreviation list.
5x5 TAP CODE GRID 12345 1 A B C/K D E 2 F G H I J 3 L M N O P 4 Q R S T U 5 V W X Y Z H = Row 2, Col 3: (pause) (long pause) tap-tap (pause) tap-tap-tap Not about secrecy — about connection between isolated prisoners
Each letter = two sets of taps (row, column) on a wall — a lifeline for POWs in solitary confinement
How It Was Broken
✊

The human dimension: The Tap Code was never cryptographically secure — any guard who understood the system could intercept messages. Its value was not cryptographic but human: it maintained communication, solidarity, and command structure among prisoners in solitary confinement. Sometimes the purpose of a cipher is not secrecy but connection.

What It Teaches Modern Cryptography
Concept from Tap CodeModern Evolution
Polybius square basisCoordinate encoding: the 2,100-year-old Polybius idea is still in use
Tap timing as signalTiming channels: side-channel attacks exploit timing differences in crypto systems
No cryptographic keyA publicly known grid provides encoding, not cryptographic confidentiality; concealment of the signalling is a separate issue
Quick Facts
Exhibit34 of 172
EraVietnam War · earlier precedents
TrustBroken
Introduced to fellow POWsCarlyle Harris · Vietnam, 1965
Year1965 Vietnam use; not an invention date
Key Type5×5 Polybius grid (no key)
Broken ByFrequency analysis · Grid deduction
← Previous Copiale Cipher