Course contentsShow
← Security
Lesson 279 of 3,0526. Advanced and Emerging CryptographyFree lesson

QKD Fundamentals and BB84 Protocol

Learn quantum key distribution principles, photon polarization states, and the BB84 protocol for provably secure key exchange.

QKD Fundamentals and BB84 Protocol

You'll learn how quantum mechanics enables theoretically unbreakable key distribution using photon polarization.

What is Quantum Key Distribution?

Quantum Key Distribution (QKD) uses the laws of quantum physics—not computational complexity—to establish shared secret keys between two parties. Unlike post-quantum cryptography (which makes math problems hard for quantum computers), QKD makes eavesdropping detectable through the fundamental behavior of quantum particles.

The key principle: measuring a quantum system disturbs it. If Alice sends Bob quantum states and Eve tries to intercept them, her measurements will leave traces that Alice and Bob can detect.

Photon Polarization States

QKD typically uses photons (light particles) with different polarization angles. Think of polarization like the orientation of a wave: horizontal (—), vertical (|), or diagonal (/ or ).

In quantum mechanics, measuring a photon in the wrong "basis" (asking "is it — or |?" when it's actually / or ) gives random results and destroys the original state. This is the cornerstone of QKD security.

The BB84 Protocol

BB84 (invented in 1984 by Bennett and Brassard) works like this:

  1. Alice sends photons: She randomly chooses polarization states using two bases (rectilinear: —/| or diagonal: /)
  2. Bob measures randomly: He picks a measurement basis for each photon (might match Alice's, might not)
  3. Public comparison: They announce which bases they used (not the results)
  4. Key extraction: They keep only bits where bases matched—these are correlated and secret
  5. Eavesdropping check: They compare a sample of results; mismatches indicate interference

If Eve intercepted photons, her random guessing of bases would introduce errors Alice and Bob would detect.

Key Takeaway: QKD provides information-theoretic security through quantum mechanics—eavesdropping is physically detectable, not just computationally hard, making it fundamentally different from all classical cryptography.