|
|
|
|
|
by wongarsu
3299 days ago
|
|
On 64-bit processors SHA-512 truncated to 256 bits is faster than SHA-256, and has the advantage of being safe against length-extension attacks (which are a major gotcha of SHA-512 and the rest of SHA2). Out of SHA3, K12, SHA2 and Blake, SHA-512 is one of the fastest (some variants of Blake2 are faster), and it's the one with the longest track record, while the Blake-family and SHA3 are fairly new. It's also widely supported nearly everywhere. All that makes truncated SHA-512 a sane default. |
|
https://twitter.com/KeccakTeam/status/834789451708628995
> It's also widely supported nearly everywhere
This is true for the non-truncated variants, but I am not aware of any protocol that uses the truncated ones.
I will agree with the "longest track record" however, this is an important part.