HomeCybersecurityBB84 Intercept-Resend Eavesdropping Detector

BB84 Intercept-Resend Eavesdropping Detector

Interactive BB84 quantum key distribution simulator: watch single photons fly from Alice to Bob, switch on an intercept-resend eavesdropper, and see the quantum bit error rate rise as the no-cloning theorem exposes the attack.

Cybersecurity3DAdvanced60 FPS
quantum-key-distribution-bb84-eavesdropping ↗ Open standalone

Quantum key distribution's security guarantee is physical, not computational: BB84 encodes each key bit on a single photon's polarization in one of two conjugate bases, and the no-cloning theorem means an eavesdropper cannot measure that photon without a real chance of disturbing it. This simulator streams individual polarized photons from Alice to Bob along a real BB84 channel — each rendered as a 3D bar tilted to its actual polarization angle — and lets you switch on an intercept-resend attacker, Eve, who measures a fraction of the photons in a guessed basis and resends her own collapsed state. Watch the sifted-key quantum bit error rate climb from a clean channel's baseline toward the theoretical 25% ceiling as Eve's interception probability rises, and see the live security verdict flip once the QBER crosses the real-world 11% abort threshold used in deployed quantum key distribution systems.

⚙ Under the hood

Stream single polarized photons from Alice to Bob over a real BB84 quantum key distribution channel, switch on an intercept-resend eavesdropper, and watch the sifted-key quantum bit error rate reveal her presence.

quantum cryptographyBB84quantum key distributioneavesdroppingno-cloning theoremQBER

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)