[BitTorrent] info_hash help

Eric Petit titer at m0k.org
Mon Nov 22 10:40:45 EST 2004

On Nov 22, 2004, at 7:54, Adam Lyttle wrote:
> The specification states that I need to hash the info dictionary
> value, what does this mean exactly? What part of the following example
> would I hash?
> :infod6:lengthi184102912e4:name10:..........12:piece
> lengthi262144e6:6:pieces3:...e

What you whould hash here is:

> Also, I have noticed that there are two 'e' values at the very end of
> the torrent file. Should I be placing both of these values into the
> hash, or one, or none?

Just one. The first one marks the end if the "info" dictionnary, the  
second one is the end of the global dictionnary.

Eric Petit <titer at m0k.org>

------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!

Yahoo! Groups Links

<*> To visit your group on the web, go to:

<*> To unsubscribe from this group, send an email to:
    BitTorrent-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

More information about the BitTorrent mailing list