Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q3. Merkle Tree (13 points] Consider a Merkle tree shown below to store the list of 8 records: $$Name$$, Fatima, Ahmad, Hessa, Khalid. Nayef, Huda,

image text in transcribed

Q3. Merkle Tree (13 points] Consider a Merkle tree shown below to store the list of 8 records: $$Name$$, Fatima, Ahmad, Hessa, Khalid. Nayef, Huda, and Noor. a. [7 points] What is the root hash value and hash value stored in each of the shown nodes 1-7. $$Names Fatima Root Hash Ahmad Hessa Khalid Nayef Huda Noor Hash value Node ID Root Hash 4 b. [2 points] Which of the 16 hash values (including the root hash) of this tree need(s) to be changed by someone who is trying to tamper with the record Fatima without being detected? c. [2 points) If you maintain the Root Hash of the tree on your computer and store the tree data on an untrusted server. The types of queries that you send the server are of the form: Does record X exist in the database?" Whenever the servers answers "Yes" (1.e. the record exists), you want the server to also send a proof that the record exists (i.e. the server is not cheating by saying yes if the record does not exist). What would be the proof that the server needs to send (set of node hash values) when he answer the question "Does the record Fatima exist in the database? How would we validate the answer using the proof data sent by the server? d. [2 points] Complete the following sentence by filling the blank: For a general Merkle tree storing N records, the size of a proof would be OG For a general Merkle tree storing N records, validating proof of membership takes time. Q3. Merkle Tree (13 points] Consider a Merkle tree shown below to store the list of 8 records: $$Name$$, Fatima, Ahmad, Hessa, Khalid. Nayef, Huda, and Noor. a. [7 points] What is the root hash value and hash value stored in each of the shown nodes 1-7. $$Names Fatima Root Hash Ahmad Hessa Khalid Nayef Huda Noor Hash value Node ID Root Hash 4 b. [2 points] Which of the 16 hash values (including the root hash) of this tree need(s) to be changed by someone who is trying to tamper with the record Fatima without being detected? c. [2 points) If you maintain the Root Hash of the tree on your computer and store the tree data on an untrusted server. The types of queries that you send the server are of the form: Does record X exist in the database?" Whenever the servers answers "Yes" (1.e. the record exists), you want the server to also send a proof that the record exists (i.e. the server is not cheating by saying yes if the record does not exist). What would be the proof that the server needs to send (set of node hash values) when he answer the question "Does the record Fatima exist in the database? How would we validate the answer using the proof data sent by the server? d. [2 points] Complete the following sentence by filling the blank: For a general Merkle tree storing N records, the size of a proof would be OG For a general Merkle tree storing N records, validating proof of membership takes time

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MySQL/PHP Database Applications

Authors: Brad Bulger, Jay Greenspan, David Wall

2nd Edition

0764549634, 9780764549632

More Books

Students also viewed these Databases questions

Question

Using Language That Works

Answered: 1 week ago

Question

4. Are my sources relevant?

Answered: 1 week ago