/ quantum course Back to lab
PATHWAY PROGRESS0/27 passed

10 / Networks and hardware · LESSON 22 / 27 · 25 MIN

BB84 and quantum communication.

Keep key distribution apart from encryption and authentication.

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

1. What error rate does an ideal intercept-resend attack cause on sifted BB84 bits?
2. The classical channel must be…

Sign in with email or a wallet to check your answers and keep your lesson progress in sync.

Your account

Sign in to pick up your progress on any device.

or

Wallet sign-in uses a free signature (EIP-4361) on whatever EVM network your wallet is on. No gas, no transaction.