Interactive Demos

Fall 2026 · University of Illinois Urbana–Champaign

Ten browser demos for weeks 1–3 — perfect secrecy, pseudorandomness, semantic security and pseudorandom functions (Katz & Lindell, chapters 2 and 3). Each one runs entirely in your browser — nothing is installed, nothing is uploaded, and reloading the page starts over. Every control is keyboard reachable.

Perfect secrecy

Week 1 · KL chapter 2. Security against an adversary with unlimited time, and the price it costs in key length.

Pseudorandomness

Week 2 · KL chapter 3. Drop the unbounded adversary for an efficient one, and a short key starts to be enough.

Semantic security and leakage

Week 3 · KL 3.2.2. What a security proof actually promises, and how to state precisely how much a scheme gives away.

Pseudorandom functions

Week 3 · KL 3.5.1. Replace the random string of a PRG with a random function: a lookup table far too big to store, imitated by a short key and a public recipe.