The Codebreaker’s Notebook

Ages 14+ · 45–90 minutes · 5 stages

An old notebook has turned up in the school archive. It belonged to a math teacher who broke codes as a hobby. Every page is encrypted, and every page is harder than the one before.

0 / 5
1

Page 1: The rule

Caesar

The first page has no key and no spaces. Only 25 shifts are possible.

TZHHW VHWXU KXTDX KYBKL MEHHD LYHKI TMMXK GL

2

Page 2: A story from Baghdad

Caesar

A whole page of letters. Trying all shifts would work, but there is a faster way: count.

YADQF TMZMF TAGEM ZPKQM DEMSA MEOTA XMDUZ NMSTP MPZMY QPMXW UZPUI DAFQM NAAWM NAGFE QODQF IDUFU ZSUZU FTQPQ EODUN QPMOX QHQDF DUOWU ZQHQD KXMZS GMSQE AYQXQ FFQDE MDQGE QPYGO TYADQ ARFQZ FTMZA FTQDE UZQZS XUETF TQYAE FOAYY AZXQF FQDUE QRAXX AIQPN KFMZP MURMY QEEMS QUEID UFFQZ IUFTM EUYBX QEGNE FUFGF UAZQH QDKQN QOAYQ EFTQE MYQEQ ODQFX QFFQD EAFTQ XQFFQ DFTMF MBBQM DEYAE FARFQ ZUZFT QEQOD QFFQJ FBDAN MNXKE FMZPE RADQI UFTFT UEUPQ MMXWU ZPUOA GXPDQ MPYQE EMSQE FTMFZ ANAPK IMEEG BBAEQ PFADQ MPFAP MKIQO MXXTU EFDUO WRDQC GQZOK MZMXK EUE

3

Page 3: The unbreakable cipher

Vigenère

This page uses Vigenère. Under it, in pencil: “The keyword is where the scholar lived.”

WIMLQEUF WGZ FAOMEJ AKE XOBXLDKDCLK JLPKFR LVU TKSEK OXNGSEJ FHAUT

4

Page 4: The queen’s letters

Substitution

Every letter has been swapped for another one, with no order. 26 letters can be mixed in more ways than there are grains of sand on Earth, so trying is hopeless. But the notebook has already filled in three letters for you.

Known: F = E, V = T, C = A
BR VIF OFCW 1586 DCWO, ZTFFR LS YKLVY, ACY C EWBYLRFW BR FRXPCRH. YIF AWLVF YFKWFV PFVVFWY VL SWBFRHY AIL EPCRRFH VL YFV IFW SWFF. VIF PFVVFWY AFWF IBHHFR BR VIF QFFW QCWWFPY VICV AFWF HFPBUFWFH VL IFW ILTYF. QTV VIF DFYYFRXFW ACY ALWJBRX SLW VIF LVIFW YBHF. FUFWO PFVVFW ACY KLEBFH CRH XBUFR VL VILDCY EIFPBEEFY, VIF QFYV KLHFQWFCJFW LS VIF FRXPBYI ZTFFR. DCWO TYFH C KBEIFW VICV WFEPCKFH PFVVFWY ABVI YODQLPY. EIFPBEEFY KLTRVFH VIF YODQLPY, KLDECWFH VIFD ABVI VIF PFVVFWY LS VIF PCRXTCXF CRH QWLJF VIF KLHF. VIF PFVVFWY AFWF TYFH CY FUBHFRKF CXCBRYV IFW, CRH IFW EPCR SCBPFH.
Need a hint?

Short words help: a one-letter word is A or I, and THE is the most common three-letter word.

5

Page 5: The last page

Vigenère

The last page, Vigenère again. In the margin: “The keyword is the surname of the man who read the queen’s letters.”

NVY SIKT VWPK XSM LWSDT USEMQDSC. LLPNWBT XG IOI NWSTFJTHOPZH

For teachers

Post the link to this page in Teams or Google Classroom. Stages unlock one after another, and progress stays in each student’s browser. Answers and teaching tips are on the answer key, which you find on the challenges page.

Searches the list of pages on this site. What you type stays in your browser.