by CiPHPerCoder · 7y ago · 0 comments
Now it's reduced to shambles.
It's time to stop using SHA1. (HMAC-SHA1 is still okay.)
If you do know the secret key, collisions are easy, but probably pointless since you can already forge HMAC signatures for anything you want.
Still, even if there’s no way to break HMAC-SHA1 (or even HMAC-MD5) faster than the birthday attack, you should still prefer to pick a better hash algorithm for safety.