Monday, December 10, 2012

Shhhhhhhhhhh


Who didn't have a secret decoder ring or talk in Pig Latin when they were kids?  Communicating in secret is fun on one level....if you work at the NSA I'm pretty sure it's a bit more than just fun.

I was attracted today to a post at Division by Zero - the Pigpen Cipher in Latex.  The cipher looks a lot like some sort of Egyptian hieroglyphics but it is actually a very simple correspondence cipher.  I admit I had to look up what the author meant by Latex; my first thought was that this code was going to be made out of a rubbery substance for some sort of art project.  LaTex is just a way this code can be typed. 

"Melanie" in PigPen

Looking at this cipher reminded me of the cryptography I always do in my algebra classes when we study matrices.  We use matrices to encode and decode messages; without the encryption matrix we'd probably have to call in the NSA to decode our simple messages.  It's kind of a fun way to use matrix multiplication and inverse matrices.  I hand out a sheet of encoded messages about me (where I live, the names of my dogs, etc); they decode the hypotheses and conclusions and then they have to match up the correct pairs. 

Just about everybody has heard about the Pythagorean Theorem, but I wonder how many people know that Pythagoras was heavily into mysticism?  Secret codes were right up his alley!


No comments:

Post a Comment