Glossary of Bit Torrent Terms - Common BitTorrent Terms - Hash


The hash is a string of alphanumeric characters (typically hexadecimal) in the .torrent file that the client uses to verify the data that is being transferred. Hash is the shorter form of the word Hashsum.
Torrent files contain information like the file list, sizes, pieces, etc. Every piece received is first checked against the hash. If it fails verification, the data is discarded and requested again. The Hash Fails field in the torrent's General tab shows the number of these hash fails.
Hash checks greatly reduce the chance that invalid data is incorrectly identified as valid by the BitTorrent client, but it is still possible for invalid data to have the same hash value as the valid data and be treated as such. This is known as a hash collision. Torrent and p2p files typically use 160 bit hashes that are reasonably free from hash collision problems, so the probability of bad data being received and passed on is very small.

Read more about this topic:  Glossary Of Bit Torrent Terms, Common BitTorrent Terms