更新时间:2023-12-03 21:09:58
所以我终于明白了。
infohash 是对包含以下内容的torrent文件的一部分进行SHA1散列处理:为了展示这一点,我带了一个随机的torrent文件,并使用了来自Ultima的BEncode Editor,使它更加清晰。
正如您所看到的红色框标记了信息部分的torrent文件。
torrent文件不包含项目的哈希值,而是每个项目的哈希值。
对不起,这些信息是关于导致非法电影的洪流,但我想用一个真正存在的洪流。
i am reading lately a lot about hash from torrents an magnetic links etc.
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.
So I finally figured it out.
The "infohash" is the SHA1 Hash over the part of a torrent file that includes:
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.
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.
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.