|
|
|
|
|
by hannob
2193 days ago
|
|
Hash security is a complicated beast.
There were some research results that concatenating multiple hash functions isn't much more secure than the best of the concatenated functions. It's not a good way to produce more secure hashes. Also please note that length is only one measurement of hash security. The fact that SHA1 is weak has more reasons. If it was a good hash function it would still have a security of 80 bits, which would not be a comfortable security margin, but still kinda not really broken for real. But further weaknesses reduced the attack complexity. Likewise if you think about SHA256 this is not just the 256-bit-instead-of-160-bit-version of SHA1. It's a different function (although based on simliar constructions) without the weaknesses of SHA1. |
|
Given that the article is about collision attacks and not preimage resistance, that was my main thought when thinking of the issue. I'll leave it to the experts to figure out what's the best for cryptographic hash functions.
[1] https://crypto.stackexchange.com/questions/9435/is-truncatin...
[2] https://crypto.stackexchange.com/questions/270/guarding-agai...
[3] https://en.wikipedia.org/wiki/Cryptographic_hash_function#Co...