BB84 Protocol Simulation

Follow the steps to see how quantum key distribution works. Toggle Eve's interception to see how eavesdropping affects the results.

👩🔬

Alice

Original Bits

Bases

👨🔬

Bob

Measurement Bases

Results

How to Use This Simulation

  1. Click through each step to see the protocol in action
  2. Toggle Eve's interception to see how eavesdropping affects the results
  3. Compare the final keys to understand how QKD detects eavesdroppers