Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracker HTTP部分描述有错误 #1

Open
zhspy opened this issue Jun 6, 2024 · 0 comments
Open

Tracker HTTP部分描述有错误 #1

zhspy opened this issue Jun 6, 2024 · 0 comments

Comments

@zhspy
Copy link

zhspy commented Jun 6, 2024

原文:info_hash:由 .Torrent 文件中的信息计算出的 SHA-1 摘要,并使用 B 编码进行编码。实际情况是对info做B编码后再做SHA-1摘要,再做urlencode。

原文:peer_id:BitTorrent 客户端启动时随机生成的长度为 20 个字符串。这里建议改成20个字节,20个字符串不对,20个字符也可能是unicode字符转换后长度会超过20个字节,这里也要做urlencode。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant