10 / Networks and hardware · LESSON 22 / 27 · 25 MIN
BB84 and quantum communication.
Separate key distribution from encryption and authentication.
Z basis: |0⟩,|1⟩ X basis: |+⟩,|−⟩
Choose random bases
In ideal BB84, Alice sends random bits in random Z or X bases. Bob chooses a measurement basis independently. They publicly compare bases and keep matching positions. Roughly half survive sifting when choices are independent and unbiased.
Detect disturbance
An intercept-resend attacker measuring in a random basis induces a 25% error rate on sifted bits in the ideal model: half the time the basis is wrong, then half those outcomes disagree. Real systems need finite-key security analysis and device assumptions.
Authenticate and reconcile
The public classical channel must be authenticated to prevent a man-in-the-middle attack. Error correction and privacy amplification produce a shorter secret key. QKD distributes keys; it does not replace message encryption or fix compromised endpoints.
CHECK YOUR UNDERSTANDING
Lesson quiz
Answer all 2 questions correctly. Unlimited retries.
0/2 answered
Checking your account…
