An archive of lecture notes and topics for Fall 2026 will accumulate here as the semester progresses.
Daily Post Solutions
- Daily post due Monday, August 24th — classical ciphers (problems 9–12)
- Daily post due Wednesday, August 26th — modular arithmetic practice sheet, XOR, Sage worksheet, cancellation, and exponents (problems 3–8)
- Daily post due Friday, August 28th — affine known-plaintext attack, modular inverses, and the competition (problems 3–5)
- Daily post due Monday, August 31st (AI generated) — unit groups and , a badly chosen affine key, powers of repeating, Hill cipher key recovery, and double-and-add (problems 2–7)
- Daily post due Wednesday, September 2nd (AI generated) — the formula, successive squaring, Euler’s theorem and tower exponents (problems 1, 3–7)
- Daily post due Friday, September 4th (AI generated) — a complete worked example of the Diffie-Hellman key exchange exercise, message to ciphertext and back (problems 3–4)
- Daily post due Wednesday, September 9th (AI generated) — big-oh comparisons, and baby-step giant-step for (problems 3–4)
- Daily post due Friday, September 11th (AI generated) — the parity of a discrete log, baby-step giant-step for , the tower , and linear versus binary search (problems 3–6)
- Daily post due Monday, September 14th (AI generated) — the Index Calculus for , why you can’t divide by modulo , and the runtime of the Index Calculus versus baby-step giant-step (problems 4–6)
- Daily post due Wednesday, September 16th (AI generated) — the optional El Gamal encryption chain worked end to end, breaking a key with Pohlig-Hellman and baby-step giant-step, and the repeated ephemeral key (problem 2)
- Daily post due Friday, September 18th (AI generated) — how factors , and what the dynamical portraits say about the modulus (problems 2–3)
- Daily post due Monday, September 21st (AI generated) — El Gamal malleability and how to fight it, and the RSA ciphertext chain worked end to end (problems 1–2)
- Daily post due Wednesday, September 23rd (AI generated) — square roots and which admit them, the Ceres birthday problem, and Fermat’s test on 2001 and 2003 (problems 1, 5, 6; problem 7 is in the textbook, Section 3.7)
- Daily post due Friday, September 25th (AI generated) — Miller-Rabin on and , Fermat factoring, factoring from relations and from , the quadratic sieve for , the small-message attack on RSA, and Carmichael numbers (problems 1–10)
- Daily post due Monday, September 28th (AI generated) — one equation gives both inverses, Alice’s RSA signature on and its verification, existential forgery, multiplying signatures, SHA-256 avalanche counts, breaking the parity and XOR toy hashes, and the birthday bound (problems 2–10)
- Daily post due Wednesday, September 30th (AI generated) — the Euclidean algorithm on and , inverses from by inspection, recipe cards for , all solutions of and , the halving argument for the runtime, Fibonacci inputs as the slow case, and , and (problems 2–10)
- Daily post due Friday, October 2nd (AI generated) — the inverse of modulo by extended Euclid, the CRT system modulo and , Sunzi’s problem, non-coprime moduli, inverting by Fermat, RSA decryption sped up by CRT, and Håstad’s broadcast attack (problems 1–8)
- Daily post due Monday, October 5th (AI generated) — square roots modulo via , square roots modulo from the factorization, the four square roots of modulo , square roots give factoring, and modulo on the dynamical portrait (problems 1–4, 6)
- Daily post due Wednesday, October 7th (AI generated) — Pollard’s on (the tortoise-and-rabbit table, why appears before ), the runs for and , and the birthday-paradox step count (problems 1–2)
- Daily post due Monday, October 12th (AI generated) — elliptic curve addition on (, , , doubling by the tangent line, why gives ), a sum modulo , the vertical-line failure modulo , and the non-invertible denominator modulo that factors it (problems 1–8)
- Daily post due Wednesday, October 14th (AI generated) — four vectors with the same image in , a colour class of and the count of , the six points of with all their vectors, the sizes and in general, the two points of at infinity, and why vertical lines pass through (problems 2, 3, 5–8)
- Daily post due Friday, October 16th (AI generated) — reading the multiples of on : and Hasse’s bound, the range – modulo , addition and negation by table lookup, points of order , and , the ECDLP and why it doesn’t scale, and Elliptic Curve Diffie-Hellman (problems 1–7)
- Daily post due Monday, October 19th (AI generated) — a worked pass through the Elliptic Curve El Gamal chain (keys, padding the message onto the curve, encrypting, decrypting), breaking it by Pohlig–Hellman since the order of is , why Pollard works, and the Sage loop factoring at (problems 1–3)
- Daily post due Friday, October 23rd (AI generated) — the length of , normalizing and measuring , the basis states measured in the basis, and measured in both bases (problems 2–5)
- Daily post due Monday, October 26th (AI generated) — BB84 on paper (the photons, the key , why photon 2 isn’t an error, what Eve learns from the bases), expected key length and the binomial, Eve intercepting in the wrong basis, the disagreement rate and (problems 1, 3–5)
- Daily post due Friday, October 30th (AI generated) — two qubits measured separately and as one product state, the Bell state’s probabilities and why it isn’t a product, and normalizing (problems 1–4)
- Daily post due Monday, November 2nd (AI generated) — probabilities of one bit of , entangled or not for four states, measuring the first qubit (outcome states and probabilities), conjugate transpose and a non-unitary matrix, Pauli on a state, Hadamard distinguishing from , and a gate sending to (problems 1–9)
Lectures
Friday, August 21st, 2026:
Monday, August 24th, 2026:
- Introduction to modular arithmetic, including addition and multiplication and reducing as you go, NOT reducing exponents, and writing caesar cipher in terms of modular arithmetic.
Wednesday, August 26th, 2026:
- Multiplicative inverses and Hill cipher.
Friday, August 28th, 2026:
- Formal mathematics of inverses and gcd.
Friday, September 25th, 2026 (pre-recorded):
- Lecture video, notes part 1 and part 2.
- The quadratic sieve worked visually (), digital signatures and RSA signatures, existential forgery, and cryptographic hash functions (preimage resistance, collision resistance, the avalanche effect; MD5, SHA-1, SHA-2, SHA-3).
Friday, October 9th, 2026:
- Lecture notes: elliptic curves , the point at infinity, the chord-and-tangent group law and its formulas, inverses, and adding points modulo .
Monday, October 12th, 2026:
- Lecture notes: projective space. Lines through the origin and slopes give the projective line ; vectors modulo scaling and the notation ; with the example (4 elements); the projective plane as lines through the origin in space and as a sphere with antipodal points identified; (26 nonzero vectors, 13 points); and elliptic curves in projective space, , with the affine part and the single point on the line at infinity .
Wednesday, October 21st, 2026 (Zoom; recording link on discord):
- Lecture notes: complex numbers (addition, multiplication, length, conjugates and inverses, polar form where lengths multiply and angles add); qubits with , superposition and global phase; measurement and collapse; the basis and basis for polarized light, and the change of basis between them; polarizing filters and the three filter experiment ( of the light gets through).
Friday, October 23rd, 2026 (Zoom; recording link on discord):
- Lecture notes: normalizing and measuring a qubit (the daily problem ); photons in the and bases and changing between them; Quantum Key Distribution (BB84, Bennett and Brassard) with the encoding , in and , in : Phase I (Alice sends random bits in random bases, Bob measures in random bases), Phase II (compare bases publicly, keep the rows where they agree), an eavesdropper corrupts each shared bit with probability , and Phase III (reveal and compare some bits; Eve escapes checks with probability ).
Monday, October 26th, 2026:
- Slides: Here comes the Hackpocalypse: cybersecurity in the AI era. Password storage (salted slow hashes), password strength and guessing times, reuse and password managers, second factors (TOTP, passkeys and YubiKeys, and why passkeys can’t be phished), memory safety, the padlock in the URL bar and certificate authorities, bad randomness, reading a URL, AI capabilities, authentication for humans, identity theft, and quantum computers.