2 ms·
The assumption that with an 160-bit hash you will not get collisions is pretty safe. I have actually searched for collisions by hashing several tens of million
by adrian_b 4y ago
The assumption that with an 160-bit hash you will not get collisions is pretty safe.
I have actually searched for collisions by hashing several tens of millions of files with various hashes.
With shorter hashes I have seen collisions, but even with an 128-bit good hash there were no collisions, much less with an 160-bit hash.
Unless you hash many billions of things, the chances of SHA-1 collisions are negligible.