BB84
Quantum Key Distribution · Bennett–Brassard 1984
Watch Alice send polarized photons in random bases, Bob measure and sift a shared key, and Eve's interception spike the QBER to ~25% and expose her.
Press Run Without Eve or Run With Eve to send photons down the channel.
Click a photon as it lands to read what Alice encoded on it.
Sifting — keep the photon only when the bases match
Showing a sample of photons. Bob picks his basis independently and at random, with no knowledge of Alice's — so bases agree about half the time.
| # |
|---|
| Alice bit |
| Alice basis |
| Bob basis |
| Sift |
Run the protocol to build the per-photon sifting table.
BB84 PROTOCOL
SECURITY ANALYSIS
| Security Type | Basis | Quantum computer breaks it? |
|---|---|---|
| RSA-2048 | Factoring | YES — Shor's algorithm |
| ECDSA P-256 | Discrete log | YES — Shor's algorithm |
| AES-256 | Brute force | REDUCED — Grover (128-bit eff.) |
| ML-KEM (Kyber) | Lattice | BELIEVED NO — unproven |
| BB84 QKD | Physics | NO — information-theoretic* |
* Assuming an authenticated classical channel, devices that match the security proof's model, and correct post-processing — practical attacks target the implementation. A message later encrypted with AES-GCM (step 6) is protected computationally, not information-theoretically.