Quantum Key Distribution (BB84)

Research
Introduced by
Charles Bennett and Gilles Brassard
Year
1984
Type
Cryptographic protocol
Family
Quantum Cryptography

What does it do?

BB84 is a quantum key distribution (QKD) protocol that lets two parties, conventionally called Alice and Bob, establish a shared secret key by sending single quantum states over a quantum channel.

Charles Bennett and Gilles Brassard proposed it in 1984. Its security rests on quantum-mechanical principles: an eavesdropper who measures the transmitted states disturbs them, and this disturbance can be detected statistically, though detection is probabilistic rather than certain.

The intuition behind the method

BB84 relies on the fact that measuring a quantum state in the wrong basis disturbs it. Alice encodes random bits in randomly chosen bases (rectilinear or diagonal) and sends the resulting states to Bob, who measures each one in a randomly chosen basis. Over the public channel they compare only their basis choices, not the bit values, and keep the bits where the bases matched. Those matched bits are not yet a usable key: Alice and Bob must still estimate the error rate and apply further classical processing. An eavesdropper who measures in the wrong basis leaves errors that show up in the comparison.

History

Bennett and Brassard proposed BB84 in 1984, and for some years it was mainly a theoretical protocol. Shor and Preskill's 2000 paper gave a security proof for BB84 by showing that its security follows from that of an entanglement-purification based protocol, using methods from Lo and Chau's proof for a similar protocol. Experimental implementations have since been demonstrated over fibre and free-space links, and the distances achieved depend on the hardware and channel used.

When to use it

Choose BB84 when a point-to-point link needs key establishment whose security does not depend on computational hardness assumptions, and when a quantum channel between the two parties is available. The classical channel used for basis comparison must be authenticated, so an existing shared secret or other authentication method is needed. Overall security is limited by the weakest link. A pre-shared secret used with an information-theoretically secure authentication scheme keeps the authentication step information-theoretic, whereas authentication based on computationally secure signatures makes the end-to-end security only computational, so the authentication method must be specified in advance. Do not choose it when the parties cannot establish a quantum channel, when a very high key rate is required, or when the security argument must cover imperfect devices without additional countermeasures. It has been the subject of experimental and early network deployments, but the practical reach of a given system depends on its hardware.

Limitations and considerations

  • It needs a quantum channel, and photon loss over that channel limits how far the states can be sent.
  • Because Alice and Bob choose their bases independently, about half of the transmitted bits are discarded during sifting.
  • Photon loss and detector inefficiency reduce the number of detected states and therefore the rate at which key bits are produced.
  • The basis comparison must be authenticated; without authentication, an active attacker in the middle of the classical channel can impersonate one of the parties.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • The security argument does not depend on computational hardness, so an increase in classical or quantum computing power does not by itself break the protocol's basic principle.
  • An eavesdropper who measures in the wrong basis disturbs the states and produces errors in the sampled bits, so detection is possible; the probability of detection grows with the number of bits sampled.
  • Alice and Bob need only prepare and measure single quantum states in two bases; the protocol does not require entanglement or quantum memory.
  • The Shor and Preskill proof reduces the security of BB84 to that of an entanglement-purification based protocol, which gives a concrete line of argument for its security.

Applications

  • Research testbeds: experimental QKD links over optical fibre and free-space channels, used to study the protocol and its implementation.
  • Early network deployments: BB84 run over point-to-point links, with the achievable distance set by the hardware.
  • Proposed role in future quantum networks, where QKD links could be combined into wider communication networks.
  • Satellite-based key distribution, an approach studied to extend range beyond direct fibre or free-space links.
  • Quantum information research: studies of the security proofs for BB84 and related protocols.

How it works

How it works

1

Alice generates random bits and, for each bit, a random basis (rectilinear or diagonal). She encodes each bit as a quantum state in its chosen basis.

2

Alice sends the encoded quantum states to Bob through a quantum channel, such as a fibre or a free-space link.

3

Bob receives each state and measures it in a basis he chooses at random, independently of Alice's choice.

4

Alice and Bob publicly compare their basis choices without revealing the bit values. They keep only the bits for which their bases matched, which on average is about half of the transmitted bits.

5

They publicly compare a random subset of the sifted bits and estimate the error rate from it. The tolerated error rate and the sample size must be set from a security analysis that accounts for finite sample size and privacy amplification; this page does not give a single threshold. If the error rate exceeds the tolerance, they conclude that eavesdropping is likely and discard the key; otherwise they proceed to error correction and privacy amplification. For a full intercept-resend attack, an eavesdropper who guesses each basis at random measures half of the qubits in the wrong basis, and Bob obtains the wrong bit for half of those he keeps after sifting, so about one quarter of the sifted bits are in error.

Common pitfalls

  • Treating the protocol's security proof as a guarantee for a physical device. Real detectors and sources can deviate from the idealised model, and side-channel attacks exploit such deviations.
  • Treating sifted bits as a finished key. Error estimation and further classical processing are required before the bits can be used.
  • Omitting authentication of the classical channel. The quantum part alone does not stop an active man-in-the-middle attacker.
  • Expecting key rates close to the theoretical values. Losses and detector limitations reduce practical rates considerably.

Frequently asked questions

How does BB84 ensure that an eavesdropper is detected?

If Eve measures a qubit in the wrong basis, which happens with probability 50% when she guesses the basis at random, she disturbs the state. When Bob later measures a disturbed qubit in the basis Alice used, he obtains the wrong bit with probability 50%. These errors appear in the bits that Alice and Bob compare, so the error rate in the sampled subset reveals her presence. Detection is probabilistic: its reliability depends on how many bits are sampled. In the full intercept-resend case, this gives an error rate of about one quarter among the sifted bits.

What is sifting and why is it necessary?

Sifting removes bits where Alice and Bob used different bases. Alice and Bob publicly compare bases (not bit values) and keep only matching bases. This reduces the key length but ensures both parties measured in the same basis.

Is BB84 vulnerable to quantum computers?

BB84's security does not rest on computational hardness, so a quantum computer does not break its basic principle. Security still depends on the devices and the channel behaving as the proof assumes, so an implementation can be attacked even though the protocol is secure in principle.

Can BB84 transmit long distances?

Direct transmission is limited by photon loss over fibre or free space. Quantum repeaters and entanglement purification are proposed ways to extend range, and satellite QKD is another approach to longer distances. The reach of a particular system depends on its hardware and channel and is not fixed by the protocol.

What attacks are BB84 vulnerable to?

Side-channel attacks (detector vulnerabilities, timing), environmental noise, and practical implementation flaws. Theoretically, BB84 is secure; in practice, device imperfections and attacks like the photon-number splitting attack require care.

Related methods

Sources

  1. Bennett, C. H., Brassard, G. (1984). Quantum cryptography: public key distribution and coin tossing. Proceedings of IEEE International Conference on Computers, Systems, and Signal Processing, 175–179.

    Open publication reference
  2. Shor, P. W., Preskill, J. (2000). Simple proof of security of the BB84 quantum key distribution protocol. Physical Review Letters, 85, 441–444.

    Open DOI reference
  3. Renner, R. (2008). Security of quantum key distribution. arXiv preprint arXiv:0512258.

    Open publication reference