Home▸Cybersecurity▸BB84 Key Reconciliation: Cascade Bit Grids and Disclosed Parities (2D)

BB84 Key Reconciliation: Cascade Bit Grids and Disclosed Parities (2D)

The same Cascade reconciliation as two bit grids: the block being compared glows yellow, a bisected half orange and Bob's wrong bits red, with plots of disclosed parities against the Shannon limit and of errors left, then the Toeplitz-hashed secret key strip.

Cybersecurity2DAdvanced60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
BB84 Key Reconciliation: Cascade Bit Grids and Disclosed Parities (2D) ↗ Open standalone

After the quantum part of BB84, Alice and Bob still hold keys that disagree in a few percent of the bits, and an eavesdropper may know part of them. This simulator runs the classical post-processing on a real random key: the Cascade protocol compares the parity of shuffled blocks over a public channel, bisects every odd block to find a wrong bit in about log2 of the block size parities, and lets each correction ripple back through earlier passes. You see the disclosed parities pile up against the Shannon limit N times the binary entropy of the error rate, and the reconciliation efficiency settle near 1.1 to 1.2. Then a random Toeplitz matrix hashes the agreed key down to the length allowed by the leftover hash lemma, subtracting both the leaked parities and the phase-error entropy, so the secret fraction drops to zero at the famous 11 percent error rate. The 3D view uses Blender-built key racks, console and hash module with boards of bit tiles; the 2D view shows the same grids and plots.

⚙ Under the hood

The same Cascade reconciliation as two bit grids: the block being compared glows yellow, a bisected half orange and Bob's wrong bits red, with plots of disclosed parities against the Shannon limit and of errors left, then the Toeplitz-hashed secret key strip.

Quantum CryptographyBB84Cascade ProtocolInformation ReconciliationPrivacy AmplificationToeplitz HashingCybersecurity

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)