Protocol (Ekert). A source emits pairs in a maximally entangled state. Alice measures each of her particles along one of three directions in a plane, Bob along one of three directions, chosen at random and independently. After all measurements they announce the directions.
- Rounds in which the two directions coincide give perfectly correlated outcomes (perfectly anticorrelated for Ekert's singlet state) and form the raw key.
- The other rounds are used to evaluate the CHSH expression. For the ideal state and suitably chosen directions it reaches , the Tsirelson bound. An eavesdropper who had fixed the outcomes in advance, or who holds a classical copy of them, would produce a local hidden-variable model and hence a value at most .
Relation to BB84. Bennett, Brassard and Mermin showed that an entanglement-based scheme with only the two BB84 bases is equivalent to BB84 and needs no Bell test for security when the devices are trusted: the error rate in two conjugate bases already bounds Eve's information. Ekert's use of a Bell test becomes essential when the devices themselves are not trusted, which is the setting of device-independent QKD (Acín et al.); see the device-independent key rate.