〜 ★ dCode presents ★ 〜

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.

PigPen Decoder

See also: Templars Cipher

PigPen Encoder

See also: Templars Cipher

Answers to Questions

How to encrypt using PigPen cipher?

Encryption uses 26 symbols to represent each letter of the alphabet by mono-alphabetical substitution. Digits do not have symbols.

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

Symbols are created using a 3x3 grid, crosses and dots.

Multiple variants exist for the creation of the alphabet and each changes the association of symbols and letters.

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.

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

It exists multiple variants for associating symbols and letters.

Recently a variant has been proposed in the video game Assassin's Creed.

The Knight Templars cipher is very similar and has symbols very close.

Why this cipher is named Pig Pen ?

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

When PigPen have been invented?

Probably in the 18th century

Source code

dCode retains ownership of the source code of the script Pigpen Cipher online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, Matlab, etc.) which dCode owns rights will not be given for free. To download the online Pigpen Cipher script for offline use on PC, iPhone or Android, ask for price quote on contact page !

Questions / Comments

Team dCode likes feedback and relevant comments; to get an answer give an email (not published). It is thanks to you that dCode has the best Pigpen Cipher tool. Thank you.

Source : https://www.dcode.fr/pigpen-cipher