emn178 / js-sha3

A simple SHA-3 / Keccak hash function for JavaScript supports UTF-8 encoding.
MIT License
354 stars 86 forks source link

Feature request: KMAC and cShake #11

Closed paulg446 closed 7 years ago

paulg446 commented 7 years ago

Any plans of implementing KMAC and cShake? http://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-185.pdf

Given that you've already implemented Shake and SHA3, and SHA3 doesn't suffer from length-extension attacks (so HMAC is not necessary), and KMAC is the new standard, it seems like a logical progression. Anyway, great library!

emn178 commented 7 years ago

I will study and try when I have time..

emn178 commented 7 years ago

Hi, I have pushed this two methods to master. Please try it. If it's ok, I will publish the package later.

emn178 commented 7 years ago

published