BitTorrent 是否验证文件的完整性?

Does BitTorrent verify files' integrity?

当我下载时,说一个 ISO 映像,使用 torrent;我仍然应该验证文件的完整性(例如,通过计算 sha256 哈希),还是在下载时自动完成?

BitTorrent 协议有一种机制可以在下载后自动验证每个块的完整性。当然,如果您信任文件的来源,这只会让您放心。

如果你有整个文件的校验和(例如,对于某些软件包),你之后肯定可以自己验证文件。

Torrent files have an "announce" section, which specifies the URL of the tracker, and an "info" section, containing (suggested) names for the files, their lengths, the piece length used, and a SHA-1 hash code for each piece, all of which are used by clients to verify the integrity of the data they receive.

https://en.wikipedia.org/wiki/Bittorrent