Re:First practical SHA-256 collision for 31 steps. fse2024
by wongarsu on Wednesday March 27, 2024 @12:15PM
(#39841138)
There was a practical collision attack on 28 rounds in 2016. Only 3 rounds of progress in 8 years is a pretty good sign for sha256.
For new code it might be better to use blake2b, blake3 or sha3, but at the same time I don't think there is any rush to migrate existing systems away from sha256.
Re:First practical SHA-256 collision for 31 steps. fse2024
by egberts1 on Wednesday March 27, 2024 @01:11PM
(#39841820)
Better off with SHAKE256: none of that "oops, I went with easier SHA3-224", plus SHAKE256 is faster.
Re:First practical SHA-256 collision for 31 steps. fse2024
by lifthrasiir on Wednesday March 27, 2024 @10:23PM
(#39847099)
Indeed. SHA-2 is unexpectedly stronger than the expectation a decade ago.
(By the way I couldn't exactly reproduce the claimed result even with a 31-round version of SHA-256. Maybe they simply ran a step function 31 times without any initial rounds? I don't know.)
EDIT: @Retr0id has reproduced this result: https://bsky.app/profile/retr0.id/post/3konobbmf6o2a
[1] https://eprint.iacr.org/2024/349.pdf