10 / Networks and hardware · LESSON 22 / 27 · 25 MIN
BB84 and quantum communication.
Keep key distribution apart from encryption and authentication.
Z basis: |0⟩,|1⟩ X basis: |+⟩,|−⟩
Random bases
In ideal BB84 Alice sends random bits, each in a randomly chosen Z or X basis, and Bob picks his measurement basis independently. They compare bases openly and keep the positions where they agree; with independent, unbiased choices roughly half survive the sifting.
Spotting an eavesdropper
An intercept-resend attacker who measures in a random basis causes a 25% error rate on the sifted bits in the ideal model: half the time the basis is wrong, and then half of those results disagree. Real systems need finite-key security analysis and assumptions about devices.
Authenticate and reconcile
The public classical channel has to be authenticated to prevent a man-in-the-middle attack. Error correction and privacy amplification then shrink the result to a shorter secret key. QKD distributes keys; it does not replace message encryption or repair compromised endpoints.
TEST YOURSELF
Lesson quiz
Get all 2 questions right to pass. Retry as often as you like.
0/2 answered
Sign in with email or a wallet to check your answers and keep your lesson progress in sync.