View Single Post
  #8 (permalink)  
Old September 15th, 2008
gnutella06 gnutella06 is offline
Disciple
 
Join Date: February 23rd, 2006
Posts: 16
gnutella06 is flying high
Default

I was trying to compute leaf hashes. To compute leaf hash, the chunk of file is prefixed with '0' and then compute tiger hash of it. Unfortunately, it doesn't work, when I compared what I was getting from Gnutella network.

I would like to know how exactly leaf hashed is computed? Although I'm not so good with Java, I tried to see Phex code and could see that there is some special way to compute leaf hash. The only thing which I understood is, the leaf hash is computed by computing hash of each 1kb. I don't understand how exactly the leaf hash computed.

Any help would be greatly appreciated.
Reply With Quote