Build – Ciphers and Codes – Crack It!

Crack It: Codebreaking with Math

Four sessions that turn Explore’s paper ciphers into numbers, graphs and formulas, then use them to break the ciphers and to catch typing mistakes.

BIG IDEA

A cipher is only as strong as the patterns it hides. Math is how codebreakers find the patterns

Project 1: Clock Math – the Caesar cipher as a formula

Wrapping around from Z to A is arithmetic with remainders, and arithmetic is something a spreadsheet can do 25 ways at once.

Project 2: Letter Detectives – frequency analysis

Every language has a fingerprint: some letters are common and some are rare. Swapping letters for other letters doesn’t hide it.

Project 3: The “Unbreakable” Cipher – Vigenère

Use a different shift for each letter, set by a keyword. The letter fingerprint smears flat, until the keyword starts to repeat.

Project 4: Check Digits – catching mistakes

One extra digit, worked out from the others, catches most typing mistakes. It protects against accidents, not against spies.