4.1.3 Content Chunk Validation

Peers have to validate that content chunks downloaded from other peers or a hosted cache contain the same data as the original content that was available from the server which supplied the Content Information (section 2.4). Peers accomplish this by hashing received content using the algorithm specified in the Content Information and comparing the hash with the hash specified for that specific content chunk or segment in the Content Information. If the hashes match, then the peer can be confident that the data matches the content available from the server.