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.
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.