Search for a tool
Pigpen Cipher

Tool to decrypt/encrypt using masonic cipher. Pigpen cipher (also called masonic cipher or Freemason's cipher) uses a substitution alphabet made of grid parts 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!


Thanks to your feedback and relevant comments, dCode has developed the best 'Pigpen Cipher' tool, so feel free to write! Thank you!

Pigpen Cipher

PigPen Decoder

PigPen Encoder




Answers to Questions (FAQ)

What is the PigPen cipher? (Definition)

Pig-Pen Encryption uses 26 symbols to represent each letter of the alphabet by mono-alphabetical substitution.

Symbols are created using a 3x3 grid, crosses and dots. Digits do not have symbols.

How to encrypt using PigPen cipher?

The Pigpen correspondence table is:

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

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

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

How to decrypt using PigPen cipher?

PigPen decryption consists in replacing each symbol by the corresponding letter.

Example: char(68)char(67)char(79)char(68)char(69) corresponds to letters D,C,O,D,E

How to recognize PigPen ciphertext?

The ciphered message is made from symbols with right angles 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 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.

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

It exists multiple variants for associating symbols and letters.

The original version combines the letters in this order:

<b>pigpen</b>-construction

However, variations exist, 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 or the rosicrucian cipher are very similar and have very close symbols.

Why was Pig Pen cipher created?

Used by the Freemasons, this encryption allowed a written correspondence relatively difficult to decipher.

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?

PigPen appeared in the 18th century

Source code

dCode retains ownership of the online 'Pigpen Cipher' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any 'Pigpen Cipher' algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any 'Pigpen Cipher' function (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and no data download, script, copy-paste, or API access for 'Pigpen Cipher' will be for free, same for offline use on PC, tablet, iPhone or Android ! dCode is free and online.

Need Help ?

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

Questions / Comments

Thanks to your feedback and relevant comments, dCode has developed the best 'Pigpen Cipher' tool, so feel free to write! Thank you!


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