3 ms·
The thing with SHA-1 is that we know (and have known for a decade) that is not a good cryptographic hash function. It is still, along with MD5, a good hash func
by hvidgaard 10y ago
The thing with SHA-1 is that we know (and have known for a decade) that is not a good cryptographic hash function. It is still, along with MD5, a good hash function if you control the input, i.e. in a hash table.
- AYBABTME 10y agoThere are better functions than SHA1 to use for hash tables. Candid question: really what is the use for MD5/SHA1 these days?
- hvidgaard 10y agoYes, but those are widely implemented and thus available more or less everywhere. I'd rather use a slightly less ideal hash function, than use an untested one.