Re:NIST Retires SHA-1 Cryptographic Algorithm
by nicolashahn on Thursday December 15, 2022 @01:53PM
(#34003910)
how else do you add a backdoor?
[ Parent
| on HN ]
Re:NIST Retires SHA-1 Cryptographic Algorithm
by Dylan16807 on Thursday December 15, 2022 @02:34PM
(#34004477)
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.