|
|
|
|
|
by sha2throwaway
3241 days ago
|
|
Actually you do get some added security, because it prevents the length extension attacks sha-2 and related hash functions have thanks to the Merkle-Damgard construction [0]. Specifically, by truncating the hash, the output no longer contains enough state to perform the attack. [0] https://en.wikipedia.org/wiki/Length_extension_attack |
|
Replacing SHA-1 with SHA-2, what are they thinking? Blake2 is faster and more secure than either.