GoalEncrypt and decrypt with the pigpen cipher, compare it with the Caesar cipher and invent a cipher of your own.
New words
pigpen cipher · a substitution cipher that swaps every letter for a symbol made of lines and dotssymbol · a simple picture that stands for a letterpigpen key · the drawing that shows which symbol belongs to each letter
Explanation
The pigpen cipher also swaps letters, but it uses symbols and not letters. The key is a drawing of two grids (two lines across and two lines down) and two X shapes. Each letter sits in a space in one of the drawings. Its symbol is the lines around that space. The first grid holds A to I, from left to right and from top to bottom. The table shows each letter of the first grid with its symbol. The second grid holds J to R and has a dot in every symbol. The two X shapes hold S, T, U, V and W, X, Y, Z. The second X shape has dots. To decrypt, find the symbol in the key and read the letter.
First grid
left
middle
right
top row
A ┘
B ⊔
C └
middle row
D ⊐
E □
F ⊏
bottom row
G ┐
H ⊓
I ┌
Worked examples
Second grid
left
middle
right
top row
J ┘ + dot
K ⊔ + dot
L └ + dot
middle row
M ⊐ + dot
N □ + dot
O ⊏ + dot
bottom row
P ┐ + dot
Q ⊓ + dot
R ┌ + dot
Letters J to R use the same nine shapes as A to I, with a dot added. J is the shape of A with a dot. K has the shape of B with a dot, and so on, in the same order.
Space in the X
First X
Second X (with a dot)
top
S ∨
W ∨ + dot
left
T >
X > + dot
bottom
U ∧
Y ∧ + dot
right
V <
Z < + dot
The X shapes hold four letters each. The four symbols are read in this order: the top, the left, the bottom and the right. The first X shape holds S, T, U and V. The second X shape holds W, X, Y and Z, and its symbols have a dot.
Encrypt SWIM. S is the top shape of the first X. W is the top shape of the second X, with a dot. I has lines at the top and on the left. M has lines at the top, on the right and at the bottom, and a dot. Each letter turns into one symbol.
Class activity
Make your own cipher (in pairs): invent a code in which every letter becomes a shape, a colour, a number or a small drawing. Write the key on one sheet of paper and keep it hidden. Write a message and send it to your partner without the key. Can they read it? Now give them the key. How much easier was it? How could someone crack your cipher? Write down one way to make it harder to crack.
Practice
1
Decrypt this pigpen word. Use the key in the lesson.
HOT: H has lines at the top, the left and the right; O is the shape of F with a dot; T is the left X shape.
2
Describe the pigpen symbols for the word TAP.
T is the left X shape (a point to the right, like >). A has lines on the right and at the bottom. P has lines at the top and on the right, with a dot.
3
Decrypt this pigpen word.
SLED: S is the top shape of the first X, L is the shape of C with a dot, E is a full box and D has lines at the top, on the right and at the bottom.
4
Give one way in which the Caesar cipher and the pigpen cipher are the same, and one way in which they are different.
Same: both swap every letter for something else, so both are substitution ciphers, and both need a key. Different: Caesar swaps letters for letters by moving along the alphabet, but pigpen swaps letters for symbols from a grid.