Home▸Cybersecurity▸BB84 Key Reconciliation: Cascade Parity Search and Privacy Amplification

BB84 Key Reconciliation: Cascade Parity Search and Privacy Amplification

Reconcile a real random BB84 sifted key: the Cascade protocol compares block parities, bisects odd blocks to find wrong bits and ripples each correction through earlier passes, while the disclosed parities are compared with the Shannon limit. A Toeplitz hash then shortens the key by the leaked bits and the phase-error entropy. Blender-built key racks and bit-tile boards, live graphs and independent numerical checks.

Cybersecurity3DAdvanced60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
BB84 Key Reconciliation: Cascade Parity Search and Privacy Amplification ↗ 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

Reconcile a real random BB84 sifted key: the Cascade protocol compares block parities, bisects odd blocks to find wrong bits and ripples each correction through earlier passes, while the disclosed parities are compared with the Shannon limit. A Toeplitz hash then shortens the key by the leaked bits and the phase-error entropy. Blender-built key racks and bit-tile boards, live graphs and independent numerical checks.

Quantum CryptographyBB84Cascade ProtocolInformation ReconciliationPrivacy AmplificationToeplitz HashingCybersecurity

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

What did you find?

Add reproduction steps (optional)