Home▸Quantum Computing▸Lamport One-Time Signature: Hash-Revealed Secrets, Key Reuse and Forgery Probability

Lamport One-Time Signature: Hash-Revealed Secrets, Key Reuse and Forgery Probability

Sign messages with a hash-based Lamport key and watch each signature reveal one secret per digest bit, then see a forger exploit the leaked secrets after the key is reused. Change the digest width, the number of signatures per key, the hash size and the attacker speed to see the forgery probability, key and signature sizes and the Grover quantum search cost, with real SHA-256 inside. A Blender-built key vault, padlock and hashing machine, with numerical checks of SHA-256, the signature scheme and Grover search built in.

Quantum Computing3DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
Lamport One-Time Signature: Hash-Revealed Secrets, Key Reuse and Forgery Probability ↗ Open standalone

Sign messages with a hash-based Lamport key and watch each signature reveal one secret per digest bit, then see a forger exploit the leaked secrets after the key is reused. Change the digest width, the number of signatures per key, the hash size and the attacker speed to see the forgery probability, key and signature sizes and the Grover quantum search cost, with real SHA-256 inside. A Blender-built key vault, padlock and hashing machine, with numerical checks of SHA-256, the signature scheme and Grover search built in.

⚙ Under the hood

Sign messages with a hash-based Lamport key and watch each signature reveal one secret per digest bit, then see a forger exploit the leaked secrets after the key is reused. Change the digest width, the number of signatures per key, the hash size and the attacker speed to see the forgery probability, key and signature sizes and the Grover quantum search cost, with real SHA-256 inside. A Blender-built key vault, padlock and hashing machine, with numerical checks of SHA-256, the signature scheme and Grover search built in.

Blockchain SecuritySimLabPost-Quantum CryptographyLamport SignatureHash-Based SignatureSHA-256Grover Search

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

What did you find?

Add reproduction steps (optional)