4 ms·
Everybody using md5sums (or equivalent) and assuming they don't clash is using probabilistic algorithms. There is nothing wrong with this if the probability of
by amelius 11y ago
Everybody using md5sums (or equivalent) and assuming they don't clash is using probabilistic algorithms.
There is nothing wrong with this if the probability of failing is smaller than the chance of an asteroid landing on your head.
- ant6n 11y ago... And if the impact of failure is less than an asteroid landing on your head.
- marvy 11y agonice one!
- michaelcampbell 11y agoLanding, however unlikely, is probably ok. Impacting (more, but still unlikely), is probably not.
- comex 11y agoAnd, of course, considering the weakness of MD5, assuming no untrusted party had an opportunity to manipulate the messages (unless a collision couldn't possibly benefit them).
- chucksmash 11y agoI wonder how many people using UUIDs still write a conditional to verify uniqueness against the previously generated ones. Edit: not implying there aren't perfectly good reasons to make the check that are unrelated to the probabilities of a collision in the ideal case. Just an idle musing.