2.2 Hash Pointers and Data Structures Flashcards

1
Q

Hash pointer: What does it do?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Blockchain is …

A

a linked list of hash pointers is typically referred to as blockchain. Hash pointers are used instead of normal pointers. (WHY DOES IT WORK?)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Merkle trees: a data structure using …, i.e. a ….
 They are an efficient way and secure way to…

A

cryptographic hashes
binary tree with hash pointers
verify large data structures

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Proof of Membership vs Proof of Non-Membership in a Merkle Tree

A

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).


How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Why is proof of membership efficient in a merkle tree?

The Merkle tree is efficient for this because…

A

we only have to check the hashes of the corresponding nodes and leaves, enabling verification in log(n) time.


How well did you know this?
1
Not at all
2
3
4
5
Perfectly