Re:SipHash and HalfSipHash Added to Linux Kernel
by dchest on Tuesday January 10, 2017 @04:59PM
(#13369527)
A secure cryptographic hash function's collision resistance should be MIN(output_length/2, claimed_security). For example, SHA-256 collision security is 128 bits with 256-bit output, but if you truncate output to 128 bits, collision resistance will be 64 bits.
Re:SipHash and HalfSipHash Added to Linux Kernel
by eternalban on Tuesday January 10, 2017 @01:02PM
(#13367131)
Isn't a secure hash supposed to have bit independence?
Maybe SHA-8 works fine. I don't know. I've never seen any real mathematical investigation of that, and that's the point.