Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The original padding, as bits, was 100000...0001

The new padding prepends either 01, 11, or 1111 depending on the variant of SHA-3. That way the different variants don't sometimes give the same [partial] hash.

It was weird to toss that in at the last second but there's no room for a backdoor there.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: