2 ms·
When are we moving to SHA256? Some code bases must be getting massive by now sfter 20 years,
by mrlonglong 2y ago
When are we moving to SHA256? Some code bases must be getting massive by now sfter 20 years,
- waynecochran 2y agoAre you worried about hash collisions from different objects? The probability of a collision of N distinct objects with SHA-1 is (N choose 2) * 1 / 2^161. For a trillion objects the probability is about 1.7 x 10^-25. I think we can safely write code without collisions until the sun goes super novae.
- deleted 2y ago[deleted]
- mrlonglong 2y agoIt's not that I'm worried about, it's the fact malicious files can be crafted for a particular hash that could replace the original.