Join 36000+ teachers and students using TTIO.
Interesting facts: 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.
The pigpen cipher (alternatively referred to as the masonic cipher, Freemason's 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.
The pigpen cipher uses graphical symbols assigned according to a key similar to the above diagram.
https://crypto.interactive-maths.com/pigpen-cipher.html
www.teachyourselfpython.com