Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calculate Torrent Info_Hash?

Status
Not open for further replies.

nomaam22

Programmer
Oct 6, 2006
9
CA
Hello:

I am working with VB.NET, framework 2.0 and working in a windows form.

I am trying to calculate the info_hash of a torrent file. From what I have read it is a 20 byte SHA1 value of the file's matadata.

However, I am at a loss at how to calculate it as I am not sure on the exact portion of the file I should be working with. Currently the two main references I am using are as follows:

Torrent file info:
Calculating SHA1 hash:
Can anyone give me some advise on how to get this done?

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top