1 comment

[ 4.0 ms ] story [ 14.5 ms ] thread
There is HMAC but also you can defend against those attacks by throwing away some of the bits. For instance do SHA-512 and keep just the first 256 bits.