From One Seed to a Thousand Leaves – Merkle's Authentication Tree
7 hours ago
- Merkle trees solve the storage problem of Lamport-Diffie one-time signatures by using a binary tree structure where only the root (a fixed-length hash) needs to be stored, replacing the need to store all public keys.
- A one-way hash function is used to compute tree nodes from private keys (leaves) up to the root, enabling verification via authentication paths rather than storing the entire tree.
- Merkle further improved efficiency by using a single 200-bit seedkey to generate all private keys, and by allowing deletion of nodes not needed for future authentication.
- The Merkle tree is foundational to blockchain, enabling Simplified Payment Verification (SPV) where a transaction can be verified without downloading the entire blockchain.