Bittorrent tracker request, format of info_hash

后端 未结 2 986
醉酒成梦
醉酒成梦 2021-01-18 00:32

When I want to send an initial request to a tracker all references I\'ve seen says it needs to be url-encoded. If I transform the SHA-1 hash I have of the info key into a he

2条回答
  •  庸人自扰
    2021-01-18 01:03

    Binary form of info-hash (a 20 byte long SHA1) should be URL encoded. AFAIK some trackers accept pure hexadecimal info-hash (40 character long string).

提交回复
热议问题