4 ms·
Do they check filesize too? What are the odds of a hash collision + identical filesize? We might need Carl Sagan to answer that one.
by avdempsey 16y ago
Do they check filesize too? What are the odds of a hash collision + identical filesize? We might need Carl Sagan to answer that one.
- bdhe 16y ago> What are the odds of a hash collision + identical filesize? If implemented correctly, the additional constraint on filesize being the same is irrelevant. Given one particular hash value, the probability that a second file hashes to the same value is 1/(range of hash function) if the hash function is modeled as an ideal hash function.