2.2 Hash Pointers and Data Structures Flashcards
Hash pointer: What does it do?
allows us to verify that the information has not changed
but: it does not contain information to the location of the data enriched with a cryptographic hash of it
Blockchain is …
a linked list of hash pointers is typically referred to as blockchain. Hash pointers are used instead of normal pointers. (WHY DOES IT WORK?)
Merkle trees: a data structure using …, i.e. a …. They are an efficient way and secure way to…
cryptographic hashes
binary tree with hash pointers
verify large data structures
Proof of Membership vs Proof of Non-Membership in a Merkle Tree
an efficient way to prove that a certain block is contained in a Merkle tree (Proof of Membership) and to prove that a certain data block is not contained in a sorted Merkle tree (Proof of non-Membership).
Why is proof of membership efficient in a merkle tree?
The Merkle tree is efficient for this because…
we only have to check the hashes of the corresponding nodes and leaves, enabling verification in log(n) time.