Exhibit 31 of 37 18th Century Broken

Pigpen Cipher

The Freemason cipher — symbols instead of letters, used for centuries in secret societies

InventorFreemasons (popularized) · Earlier origins unknown
Year~1700s
Key TypeFixed symbol-to-letter grid
Broken BySymbol frequency analysis · Pattern recognition
Modern LessonVisual encoding as cryptography

Why This Matters

The Pigpen cipher — used by Freemasons from at least the 18th century — is one of the most widely recognized symbol ciphers in history. It demonstrates that substituting symbols for letters provides no additional security over substituting other letters.

📜Historical Context

The Pigpen (or Masonic) cipher uses geometric symbols derived from two grids and two X patterns to represent the 26 letters of the alphabet. It was used by Freemasons from at least the 18th century for lodge records and correspondence. George Washington's Freemason brothers used it; examples appear in gravestone inscriptions and historical documents across the English-speaking world.

The cipher is a simple monoalphabetic substitution using symbols instead of letters — cryptographically equivalent to Caesar or any other fixed letter-to-symbol mapping, and breakable by the same frequency analysis.

⚙️How It Works
The grid layouts:

┌───┬───┐   ┌───┬───┐
│ A │ B │   │ J │ K │
├───┼───┤   ├───┼───┤  (dotted versions)
│ C │ D │   │ L │ M │
└───┴───┘   └───┴───┘

The shape of the cell containing the letter
becomes the symbol for that letter:
A = └┘  (bottom-right corner shape)
B = the full middle-section shape
...etc

Famous users:
- Freemasons (lodge records)
- George Washington
- Civil War soldiers (personal letters)
Grid 1 ABC DEF GHI Grid 2 JK LM Example symbols: A = E = H = J = Each letter's symbol is the shape of the cell it occupies Dots distinguish grids 3 & 4 (dotted versions of 1 & 2)
Pigpen cipher: letter shapes come from tic-tac-toe and X grids — dots distinguish the second set
💀How It Was Broken
Symbol Frequency Analysis
Complexity: Trivial

The Pigpen cipher is a monoalphabetic substitution cipher using symbols instead of letters. Al-Kindi's 850 AD frequency analysis applies directly: count how often each symbol appears, match the most common symbol to E, work through the frequency table, and the alphabet mapping is recovered in minutes. Modern word pattern analysis makes it even faster.

🔬What It Teaches Modern Cryptography
Concept from Pigpen CipherModern Evolution
Symbol substitutionVisual encoding: QR codes, barcodes use symbol-to-data mapping
Fixed symbol gridCharacter encoding standards: ASCII, Unicode map characters to numbers
Secret society useNeed-to-know access control: modern cryptography enforces this mathematically
Quick Facts
Exhibit31 of 37
Era18th Century
SecurityBroken
InventorFreemasons (popularized) · Earlier origins unknown
Year~1700s
Key TypeFixed symbol-to-letter grid
Broken BySymbol frequency analysis · Pattern recognition
← Previous Alberti Cipher Disk