Hi,
I have trouble computing the metahash to pass the first test case. My current implementation follows the Listing 1 in the handout but it doesn't work. I was wondering whether you can help me to clarify it.
To be precisely, suppose there're 3 chunks in a file. The hex coded hash of them are:
chunk1: h1 = 9834876dcfb05cb167a5c24953eba58c4ac89b1adf57f28f2f9d09af107ee8f0
chunk2: h2 = 3e744b9dc39389baf0c5a0660589b8402f3dbb49b89b3e75f2c9355852a3c677
chunk3: h3 = 2e7d2c03a9507ae265ecf5b5356885a53393a2029d241394997265a1a25aefc6
Suppose the separator is '\n'. Will the metahash be "hex(sha256(h1\nh2\nh3))" ?
Best,
Ran