Pigpen cipher

From Wikipedia, the free encyclopedia

The pigpen cipher uses graphical symbols assigned according to a key similar to the above diagram.
The pigpen cipher uses graphical symbols assigned according to a key similar to the above diagram.

The pigpen cipher (sometimes called the masonic cipher or Freemason's cipher) is a simple substitution cipher exchanging letters for symbols based on a grid. The use of symbols is no impediment to cryptanalysis however, and cryptanalysis is identical to that of other simple substitution schemes. The example key shows one way the letters can be assigned to the grid.

Masonic cipher
Masonic cipher

The scheme was developed and used by the Freemasons in the early 1700s for record-keeping and correspondence (Newton, 1998, p. 113). In this form, a simple code word is used and the letters entered at the beginning, then the other letters filled in behind with no doubling up. The first letter uses the plain symbol, the second letter uses the dotted symbol.

Using the example key, the message "X marks the spot" is rendered in ciphertext as:

An example pigpen message

Edward Larsson's manuscript (1885) has the pigpen cypher along German Blackletter and runes (perhaps connected to the Kensington Runestone).
Edward Larsson's manuscript (1885) has the pigpen cypher along German Blackletter and runes (perhaps connected to the Kensington Runestone).


Classical cryptography
v  d  e
Ciphers: ADFGVX | Affine | Alberti | Atbash | Autokey | Bifid | Book | Caesar | Four-square | Hill | Keyword | Nihilist | Permutation | Pigpen | Playfair | Polyalphabetic | Polybius | Rail Fence | Reihenschieber | Reservehandverfahren | ROT13 | Running key | Scytale | Smithy code | Solitaire | Straddling checkerboard | Substitution | Tap Code | Transposition | Trifid | Two-square | VIC cipher | Vigenère
Cryptanalysis: Frequency analysis | Index of coincidence
Misc: Cryptogram | Bacon | Polybius square | Scytale | Straddling checkerboard | Tabula recta
Cryptography
v  d  e
History of cryptography | Cryptanalysis | Cryptography portal | Topics in cryptography
Symmetric-key algorithm | Block cipher | Stream cipher | Public-key cryptography | Cryptographic hash function | Message authentication code | Random numbers
Advanced Search
Included Web Search Engines


Safe Search

close

Top Matching Results

Occasionally Search.com will highlight specialized results that are based on the context of your query. Examples of specialized results include specific links to news, images, or video.

Top Matching Results may highlight information from other Search.com pages, content from the CNET Network of sites, or third party content. The listings are based purely on relevance. Search.com does not receive payment for listings in this section but our partners that provide this data may get paid for listing these products.

Sponsored Links

This section contains paid listings which have been purchased by companies that want to have their sites appear for specific search terms and related content. These listings are administered, sorted and maintained by a third party and are not endorsed by Search.com.

Search Results

Search.com sends your search query to several search engines at one time and integrates the results into one list which has been sorted by relevance using Search.com's proprietary algorithm. You can customize the list of search engines included in your metasearch from the preferences.

The search engines that are used in your metasearch may allow companies to pay to have their Web sites included within the results. To view the Paid Inclusion policy for a specific search engine, please visit their Web site. Search.com does not accept payment or share revenue with any search engine partner for listings in this section.