2
$\begingroup$

Let's say I've a Merkle tree where leaves are the hashes of some data that needs to be authenticated. Can I verify the whole of them by just using the hash of the root of Merkle tree? If yes, how?

$\endgroup$

1 Answer 1

3
$\begingroup$

If you need to verify all the data, you are going to have to recompute the entire tree, and compare your root with the root you were given. The power of the Merkle tree comes into effect when you only need to verify a subset of the data.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.