BB84 Finite-Key Security: Where Every Sifted Bit Goes (2D)
A 2D view of the same finite-key calculation: where each sifted bit goes (test sample, error correction leak, privacy amplification, confirmation, final key), the key-rate curve against block length and against error rate. Same model and checks as the 3D link.
A quantum key distribution link never sends an infinite number of photons. With a finite block of sifted bits, Alice and Bob can only estimate the eavesdropper's footprint from a small random sample, so they must assume the worst phase error compatible with the sample. Set the block length, channel noise, an intercept-resend eavesdropper, the sample fraction, security parameter and error-correction efficiency, and watch the secret key length collapse to zero below a minimum block size. A Blender-built optical link with numerical checks against the 11 percent threshold and a Monte Carlo of the sampling bound.
A 2D view of the same finite-key calculation: where each sifted bit goes (test sample, error correction leak, privacy amplification, confirmation, final key), the key-rate curve against block length and against error rate. Same model and checks as the 3D link.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install