Hacker News new | past | comments | ask | show | jobs | submit login

Kangaroo12(K12) is a reduced-round KECCAK(aka SHA3) hash. Their HopMAC recommendation is only for K12 (and presumably Marsupilami14), not general purpose like HMAC (it's also quite similar to HMAC[0]). There's also KMAC[1] which is based on full-round KECCAK, avoiding the double hash.

  HopMAC(K,M)=H(K || H(M))
  HMAC(K,M)=H(K || H(K || M))
  
[0]: https://datatracker.ietf.org/doc/draft-irtf-cfrg-kangarootwe... [1]: https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.S...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: