Tool to decrypt/encrypt using masonic cipher. Freemasons' Pig Pen cipher (Pigpen) explained with the substitution alphabet with symbols composed of dashes and dots.
Pigpen Cipher - dCode
Tag(s) : Symbol Substitution
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
The Pig Pen Cipher, also known as the Freemason Cipher (or masonic alphabet), is an encryption system that was historically used by some members of Freemasonry to protect their communications.
It is based on a special arrangement of letters in a grid (cross or grid like tic tac toe) in order to use 26 symbols to represent the letters of the alphabet by substitution.
To encode a message with the Pig Pen number, each letter of the masonic alphabet is associated with a unique symbol.
The symbols are designed with a 3x3 grid/grid, crosses and dots as a basis.
The Pigpen correspondence/lookup table is therefore:
A | B | C | D | E | F | G | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
H | I | J | K | L | M | N | |||||||
O | P | Q | R | S | T | U | |||||||
V | W | X | Y | Z | |||||||||
dCode.fr |
Numbers have no associated symbols.
Multiple variants exist for the creation of the masonic alphabet and each changes the association of symbols and letters (see below).
The ciphered message is made from symbols with right angles (corners) which sometime has a dot (1 symbol out of 2 has a dot).
The message has a maximum of 26 distinct characters.
The presence of notions such as pigs, pens, gate or farm are clues.
The reference to Charles M. Schulz's comic book Peanuts reminds us that one of his characters is called Pigpen.
The generalization of the Freemasons to the Illuminati is a common drift.
The eye of providence (all seeing eye) is a symbol of the Freemasons.
It exists multiple variants for associating symbols and letters, here are those identified by dCode:
#0 | ABCDEFGHIJKLMNOPQRSTUVWXYZ (Original version, filling grids ⌗,⌗• then crosses ✕,✕•) |
#1 | ABCDEFGHIJKLMNOPQRSTVUWXZY (Variant modifying cross filling by rotation ⟲) |
#2 | ABCDEFGHINOPQRSTUVJKLMWXYZ (⌗ then ✕ then ⌗• then ✕•) |
#3 | NOPQRSTUVWXYZABCDEFGHIJKLM (⌗•, ✕• ⌗, ✕) |
#4 | IJKLMNOPQRSTUVWXYZABCDEFGH (✕, ✕•, ⌗, ⌗•) |
#5 | ACEGIKMOQBDFHJLNPRSUWYTVXZ (Variant alternating ⌗ and ⌗• then ✕ and ✕•) |
#6 | ACEGIKMOQBDFHJLNPRSUYWTVZX (Variant of variant #5, filling crosses by rotation ✕⟲) |
#7 | ABCDEFGHILMNOPRSTV-------- (Version Heinrich Cornelius Agrippa von Nettelsheim) |
#8 | BDFHJLNPRACEGIKMOQT-V-S-U- (Version La Buse) |
The Knight Templars cipher, the rosicrucian cipher, tic tac toe cipher, or the Dada Urka cipher are very similar and have very close symbols.
Any other variant remains decipherable by mono-alphabetic substitution.
Used by the Freemasons, this encryption allowed a secret and relatively secure written correspondence.
Symbols can be assimilated to pens and dots could be interpreted as small pigs.
The Pig Pen Cipher is of ancient origin, but its exact date of invention is not known with certainty.
It has been widely used by Freemasons throughout their history, but its precise origins remain a subject of debate among historians.
dCode retains ownership of the "Pigpen Cipher" source code. Except explicit open source licence (indicated Creative Commons / free), the "Pigpen Cipher" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Pigpen Cipher" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Pigpen Cipher" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.
The copy-paste of the page "Pigpen Cipher" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
Pigpen Cipher on dCode.fr [online website], retrieved on 2024-11-21,