Apex › Cryptography

Lamport one-time signatures

A digital signature built from nothing but a hash function — quantum-resistant, and the root of the post-quantum schemes SPHINCS+ and XMSS. The private key is 2L random secrets; the public key is those secrets hashed; signing reveals one secret per message-digest bit, and verifying re-hashes them. But it signs exactly once: sign a second message with the same key and watch positions expose both secrets, letting a forger take over. Type a message and see.

More in Cryptography