4 ms·
Importantly SHA-512/256 does not mean "Either of these two different functions" but instead another function, which is similar to (but slightly different from)
by tialaramex 5y ago
Importantly SHA-512/256 does not mean "Either of these two different functions" but instead another function, which is similar to (but slightly different from) performing SHA-512 and then throwing away all but 256 bits.
This prevents length extension because you've thrown away 256 bits the attacker needs to perform their attack.