ArticleslgStudy

science

Pigpen cipher

Pigpen cipher is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Pigpen cipher rather than just read about it. In short: The pigpen cipher (alternatively referred to as the masonic cipher, Freemason's cipher, Rosicrucian cipher, Napoleon cipher, and tic-tac-toe cipher) is a geometric simple substitution cipher, which exchanges letters for symbols which are fragments of a grid. The example key shows one way the letters can be assigned to the grid.

Pigpen cipher — main illustration
Pigpen cipher — illustration

Key takeaways

  • Pigpen cipher belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Pigpen cipher to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Pigpen cipher from memory before moving on to harder problems.

Reference excerpt

The pigpen cipher (alternatively referred to as the masonic cipher, Freemason's cipher, Rosicrucian cipher, Napoleon cipher, and tic-tac-toe cipher) is a geometric simple substitution cipher, which exchanges letters for symbols which are fragments of a grid. The example key shows one way the letters can be assigned to the grid.

Insecurity The Pigpen cipher offers little cryptographic security. It differentiates itself from other simple monoalphabetic substitution ciphers solely by its use of symbols rather than letters, the use of which fails to assist in curbing cryptanalysis. Additionally, the prominence and recognizability of the Pigpen leads to it being arguably worthless from a security standpoint. Knowledge of Pigpen is so ubiquitous that an interceptor might not need to actually break this cipher at all, but merely decipher it, in the same way that the intended recipient would. Due to Pigpen's simplicity, it is very often included in children's books on ciphers and secret writing.

History The cipher is believed to be an ancient cipher and is said to have originated with the Hebrew rabbis. Thompson writes that, “there is evidence that suggests that the Knights Templar utilized a pig-pen cipher” during the Christian Crusades. Parrangan & Parrangan write that it was used by an individual, who may have been a Mason, “in the 16th century to save his personal notes.” In 1531 Cornelius Agrippa described an early form of the Rosicrucian cipher, which he attributes to an existing Jewish Kabbalistic tradition. This system, called "The Kabbalah of the Nine Chambers" by later authors, used the Hebrew alphabet rather than the Latin alphabet, and was used for religious symbolism rather than for any apparent cryptological purpose. On the 7th July 1730, a French pirate named Olivier Levasseur threw out a scrap of paper written in the pigpen cipher, allegedly containing the whereabouts of his treasure which was never found but is speculated to be located in the Seychelles. The exact configuration of the cipher has also not been determined, an example of using different letters in different sections to further complicate the cipher from its standard configuration. Variations of this cipher were used by both the Rosicrucian brotherhood and the Freemasons, though the latter used the pigpen cipher so often that the system is frequently called the Freemason's cipher. Hysin claims it was invented by Freemasons. They began using it in the early 18th century to keep their records of history and rites private, and for correspondence between lodge leaders. Tombstones of Freemasons can also be found which use the system as part of the engravings. One of the earliest stones in Trinity Church Cemetery in New York City, which opened in 1697, contains a cipher of this type which deciphers to "Remember death" (cf. "memento mori"). In 1852, Major Logue, an Irish western Australian pastoralist, used the pigpen cipher in his diary to discreetly admit his involvement in the shooting and killing of at least 19 Yamatji people, an Aboriginal Australian tribe. Logue wrote that some cattle went missing on 16 March 1852, so he "SHOT THREE OF THEM FOR IT". In 24 March he wrote that the “natives at Mr Burgess’ had been stealing sheep AND THAT THE WHITE FELLOWS HAD SHOT SEVERAL OF THEM FOR IT.” On 4 April he was among a group of armed men who set out to find “natives who had taken the cattle”. By his own account he was part of groups who shot and killed at least 19 Yamatji people around what is now called Ellendale, Walkaway and the Greenough River. George Washington's army had documentation about the system, with a much more randomized form of the alphabet. During the American Civil War, the system was used by Union prisoners in Confederate prisons.

Example Using the Pigpen cipher key shown in the example below, the message "X marks the spot" is rendered in ciphertext as

Variants The core elements of this system are the grid and dots. Some systems use the X's, but even these can be rearranged. One commonly used method orders the symbols as shown in the above image: grid, grid, X, X. Another commonly used system orders the symbols as grid, X, grid, X. Another is grid, grid, grid, with each cell having a letter of the alphabet, and the last one having an "&" character. Letters from the first grid have no dot, letters from the second each have one dot, and letters from the third each have two dots. Another variation of this last one is called the Newark Cipher, which instead of dots uses one to three short lines which may be projecting in any length or orientation. This gives the illusion of a larger number of different characters than actually exist. Another system, used by the Rosicrucians in the 17th century, used a single grid of nine cells, and 1 to 3 dots in each cell or "pen". So ABC would be in the top left pen, followed by DEF and GHI on the first line, then groups of JKL MNO PQR on the second, and STU VWX YZ on the third. When enciphered, the location of the dot in each symbol (left, center, or right), would indicate which letter in that pen was represented. More difficult systems use a non-standard form of the alphabet, such as writing it backwards in the grid, up and down in the columns, or a completely randomized set of letters. The Templar cipher is a method claimed to have been used by the Knights Templar and uses a variant of a Maltese Cross. This is likely a cipher used by the Neo-Templars (Freemasons) of the 18th century, and not that of the religious order of the Knights Templar from the 12th-14th centuries during the Crusades. Some websites showing the Knights Templar cipher deviate from the original order of letters. Based on the Freemasons Document, the 1st, 3rd, 4th and 5th crosses assign the letters in clock-wise order starting at the top, the 2nd cross assigns the letters in a left, right, bottom, top order while the final cross assigns the letters in a bottom, top, right left order.

Notes

… excerpt ends here. Continue reading the full article.

Illustrations

Pigpen cipher: The pigpen cipher uses graphical symbols assigned according to a key similar to the above diagram.[1]
The pigpen cipher uses graphical symbols assigned according to a key similar to the above diagram.[1]
Pigpen cipher illustration

Worked examples

Example 1 — a first encounter with Pigpen cipher

Start with the simplest possible case. Write down what Pigpen cipher claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Pigpen cipher before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Pigpen cipher ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Pigpen cipher

In research
Pigpen cipher appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Pigpen cipher in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Pigpen cipher is common in secondary-school and first-year university syllabi. It links to neighbouring topics Classical ciphers, Masonic symbolism, so understanding it makes those chapters shorter.
In everyday life
Look for Pigpen cipher outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Pigpen cipher in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Pigpen cipher means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Pigpen cipher out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Pigpen cipher in simple terms?

The pigpen cipher (alternatively referred to as the masonic cipher, Freemason's cipher, Rosicrucian cipher, Napoleon cipher, and tic-tac-toe cipher) is a geometric simple substitution cipher, which exchanges letters for symbols which are fragments of a grid. The example key shows one way the letter…

Why does Pigpen cipher matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Pigpen cipher?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Pigpen cipher.

Tags

  • Classical ciphers
  • Masonic symbolism

Keep exploring