Search for a tool
Pigpen Cipher

Tool to decrypt/encrypt using masonic cipher. Freemasons' Pig Pen cipher (Pigpen) explained with the substitution alphabet with symbols composed of dashes and dots.

Results

Pigpen Cipher -

Tag(s) : Symbol Substitution

Share
Share
dCode and more

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!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Feedback and suggestions are welcome so that dCode offers the best 'Pigpen Cipher' tool for free! Thank you!

Pigpen Cipher

PigPen Decoder

PigPen Encoder

 




Answers to Questions (FAQ)

What is the PigPen cipher? (Definition)

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.

How to encrypt using PigPen cipher?

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.

<dfn>pigpen</dfn>-construction

The Pigpen correspondence/lookup table is therefore:

Achar(65)Bchar(66)Cchar(67)Dchar(68)Echar(69)Fchar(70)Gchar(71)
Hchar(72)Ichar(73)Jchar(74)Kchar(75)Lchar(76)Mchar(77)Nchar(78)
Ochar(79)Pchar(80)Qchar(81)Rchar(82)Schar(83)Tchar(84)Uchar(85)
Vchar(86)Wchar(87)Xchar(88)Ychar(89)Zchar(90)
dCode.fr

Numbers have no associated symbols.

Example: DCODE is encrypted char(68)char(67)char(79)char(68)char(69)

Multiple variants exist for the creation of the masonic alphabet and each changes the association of symbols and letters (see below).

How to decrypt using PigPen cipher?

PigPen decryption consists in replacing each PigPen symbol by the corresponding letter to reveal the original message.

Example: char(78)char(65)char(80)char(79)char(76)char(69)char(79)char(78) corresponds to letters NAPOLEON

How to recognize PigPen ciphertext?

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.

What are the variants of the Freemason's PigPen cipher?

It exists multiple variants for associating symbols and letters, here are those identified by dCode:

#0ABCDEFGHIJKLMNOPQRSTUVWXYZ (Original version, filling grids ⌗,⌗• then crosses ✕,✕•)
#1ABCDEFGHIJKLMNOPQRSTVUWXZY (Variant modifying cross filling by rotation ⟲)
#2ABCDEFGHINOPQRSTUVJKLMWXYZ (⌗ then ✕ then ⌗• then ✕•)
#3NOPQRSTUVWXYZABCDEFGHIJKLM (⌗•, ✕• ⌗, ✕)
#4IJKLMNOPQRSTUVWXYZABCDEFGH (✕, ✕•, ⌗, ⌗•)
#5ACEGIKMOQBDFHJLNPRSUWYTVXZ (Variant alternating ⌗ and ⌗• then ✕ and ✕•)
#6ACEGIKMOQBDFHJLNPRSUYWTVZX (Variant of variant #5, filling crosses by rotation ✕⟲)
#7ABCDEFGHILMNOPRSTV-------- (Version Heinrich Cornelius Agrippa von Nettelsheim)
#8BDFHJLNPRACEGIKMOQT-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.

Why was Pig Pen cipher created?

Used by the Freemasons, this encryption allowed a secret and relatively secure written correspondence.

Why this cipher is named Pig Pen?

Symbols can be assimilated to pens and dots could be interpreted as small pigs.

When PigPen was invented?

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.

Source code

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.

Cite dCode

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, https://www.dcode.fr/pigpen-cipher

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Feedback and suggestions are welcome so that dCode offers the best 'Pigpen Cipher' tool for free! Thank you!


https://www.dcode.fr/pigpen-cipher
© 2024 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.
 
Feedback