Interactive Demos

Fall 2026 · University of Illinois Urbana–Champaign

Fifteen browser demos for weeks 1–4 — perfect secrecy, pseudorandomness, semantic security, pseudorandom functions, block-cipher design and modes of operation (Katz & Lindell, chapters 2, 3 and 7). 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.

Block ciphers

Week 3 · KL 7.2. How a practical block cipher is actually built: a nonlinear step and a mixing step, repeated, until the ciphertext hides both the key and the message.

Modes of operation

Week 4 · KL 3.6. A block cipher encrypts one block; a mode decides how to encrypt many of them under one key, and whether equal blocks stay hidden.

The block-cipher and modes demos also appear in context in Lecture 8 (block ciphers), each placed next to the slide it goes with.