How To Download Torrent Hash Reddit

i am reading lately a lot about hash from torrents an magnetic links etc.

TPB Info_Hash to Torrent! Side with UserScript Converter and The Pirate Bay Hash To Torrent Link which allows me to fetch the.torrent file on torrents that only include the magnet link. Firefox users can use GreaseMonkey (UserScript Converter for Firefox) and The Pirate Bay Hash To Torrent Link. The answer to 'Using info hash to download files' is. The infohash is a MD5 schecksum used to verify the the file(s) are the correct ones and have not been altered since the hash was created.

but there is a question i dont understand.

I have the hash of a file and the infohash of a torrent, is the infohash = hash of the file ?

If yes what if the torrent descripes 6 Files to download ?

If no what does it stand for.

EmetielEmetiel

1 Answer

So I finally figured it out.

The “infohash” is the SHA1 Hash over the part of a torrent file that includes:

  1. ITEM: length(size) and path (path with filename)
  2. Name: The name to search for
  3. Piece length: The length(size) of a single piece
  4. Pieces: SHA1 Hash of EVERY piece of this torrent
  5. Private: flag for restricted access

To show this a little more I took a random torrent file and used the “BEncode Editor” from Ultima to make it more clearly to me.

How To Download Torrent Hash Reddit For Pc

As you can see the the red box marked the information part of the torrent file.The torrent file includes not the Hash of the items, but the hashes of every piece.

  • For item1 with: 1069496548
  • and item2 with: 223
  • It is together: 1069496771
  • With a piece size of: 524288
  • There are 2040 pieces. (1069496771/524288=2039.9032 approximately)
  • The pieces section includes 40800 byte of data what are 81600 + 2 chars in the file.
  • the +2 because 0x marks that this is hexadecimal.
  • A SHA1 hash has 40 0x chars or 20 Byte of data what are 2040 SHA1 hashes.

I am sorry that this information is about a torrent that leads to a illegal movie, but i wanted to use a torrent that realy exists.

EmetielEmetiel
Hash

Pirate Bay

Not the answer you're looking for? Browse other questions tagged hashtorrentinfo-hash or ask your own question.