Overview
A Merkle tree hashes leaves and then hashes pairs upward to a root, allowing membership proofs that include only sibling hashes along one path.
Builds a tree of hashes so large datasets can be checked with small proofs.
Compact metadata for implementation and discovery.
A Merkle tree hashes leaves and then hashes pairs upward to a root, allowing membership proofs that include only sibling hashes along one path.
Quick facts
Runtime and memory behavior at a glance.
Best
O(log n)
Average
O(log n)
Worst
O(log n)
Space
O(n)
parent = hash(left_child_hash || right_child_hash)Combines two child hashes into their parent hash.
Show the major cryptographic rounds or data dependencies without exposing secrets.
Merkle Tree should be used with the assumptions and tradeoffs of hash-Based Integrity in mind.
What each reference supports for this entry.
Good next jumps from the relationship graph, ranked for useful discovery.
BLAKE3 uses tree hashing for parallel hash computation.