PSA: You don’t need HMAC with SHA-3; not needing HMAC anymore was a design requirement for the SHA-3 contest.
Sometimes that's best, if hashfn is a parameter anyway then it's likely less change to implementations. Lower risk of bugs.
-
-
“Hashfn” should never be a parameter of a MAC. The parameter should be the MAC, not little pieces of the MAC.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.