![]() Registered Member ![]()
|
hi all. just out of curiosity, there's a couple of things i don't understand and wondered if somebody here could enlighten me.
1. if i want to know the hash of a torrent, from what i've found on-line, "...calculates the SHA1 hash of the torrents info field and stores this in the info_hash property...". so info_hash is SHA1 of the 'info' subsection of the metadata file? 2. i understand bencoded section but what's all the strange characters afterward?
3. in the ktorrent log i can see the scrape being done. the url takes the form of,
i understand that special characters are escaped as "%nn", nn being a two digit hex. but oddly on another tracker they display the hash value and there are no special characters. but if i try to use the 'regular' appearing hash in a url the tracker won't answer me but if i type into my browser the url ktorrent generates the tracker replies with a proper scrape. feel free to yap away on any or all aspects of metadata and scrape as i'm very interested. thanks for any info!
Last edited by eric235u on Wed Jun 06, 2007 2:46 pm, edited 1 time in total.
|
![]() Registered Member ![]()
|
here's a tracker that does answer the unecoded scrape:
and it's forty digits. but http://wiki.theory.org/BitTorrentSpecif ... Parameters states:
i know just enough to be confused! |
![]() Moderator ![]()
|
You need 2 hex digits to represent one byte |
![]() Moderator ![]()
|
Yeah info_hash is a SHA1 hash of the info section of the torrent
That's the SHA1 hashes of each chunk |
![]() Registered Member ![]()
|
here's dumb question for you. what exactly is the info section? would it be from
or would you not include "infod6:" or not include the SHA1 hashes of each chunk? thanks again. |
![]() Moderator ![]()
|
|
![]() Registered Member ![]()
|
u r the man! |
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]