Week 13 Writeup
The Last Frequency
#The Last Frequency — Official Solution
#Story Recap
Yohan, a radio hobbyist, intercepts a suspicious transmission, gets curious, and traces it to a relay. He disappears. His diary is the only lead.
#Step 1 — Decrypt the Diary
starting_files/yohan_notes.txt contains two entries. Entry One is flavor text explaining Yohan's motivation — it has no puzzle in it. Entry Two holds a hex-encoded, single-byte XOR-ciphered string.
The diary hints the key is "halfway to ninety" — a soft nudge toward the number 90 (0x5A), without stating it outright. Most solvers will brute-force all 256 possible keys rather than parse the hint directly:
enc = bytes.fromhex('<ciphertext from the diary>'.replace(' ', ''))
for key in range(256):
dec = bytes([b ^ key for b in enc])
try:
s = dec.decode()
if s.isprintable():
print(key, s)
except:
pass