News for hackers. Stuff that matters.
Re:Maybe we shouldn't skip SHA-3 by kobeya on Friday June 02, 2017 @10:27AM (#14470123)
How is SHA-512/256 not vulnerable to length extension attacks? I've implemented the SHA family of hash functions before and the only real difference between the two is block size and truncation of output, but I don't see how that stops length extensions.
Re:Maybe we shouldn't skip SHA-3 by nialo on Friday June 02, 2017 @10:35AM (#14470181)
Have you tried implementing the length extension attacks?

Truncating from 512 bits to 256 bits hides 256 bits of the state from the attacker, so in order to use a length extension attack they would need to "guess" those bits.

Re:Maybe we shouldn't skip SHA-3 by kobeya on Friday June 02, 2017 @10:51AM (#14470296)
There are two forms of length extension, one where the attacker does know those bits. SHA-512/256 doesn't protect against that. (HMAC does, I believe.)
Re:Maybe we shouldn't skip SHA-3 by tptacek on Friday June 02, 2017 @10:52AM (#14470305)
No.
Re:Maybe we shouldn't skip SHA-3 by dom0 on Friday June 02, 2017 @12:56PM (#14471406)
SHA-512/256 is a variant of SHA-512 where the output is truncated to 256 bits. It does not mean "SHA-512 or SHA-256". Yes, perhaps a different symbol than "/" would be better there.....
Re:Maybe we shouldn't skip SHA-3 by helper on Friday June 02, 2017 @10:30AM (#14470144)
You can't add more data once you've truncated.