Caligatio / jsSHA

A JavaScript/TypeScript implementation of the complete Secure Hash Standard (SHA) family (SHA-1, SHA-224/256/384/512, SHA3-224/256/384/512, SHAKE128/256, cSHAKE128/256, and KMAC128/256) with HMAC.

Home Page:https://caligatio.github.io/jsSHA/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: KMAC and cShake

paulg446 opened this issue · comments

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!

I'll have to take a look at this but I'm generally open to implementing it.

I just reworked the whole library and released v3.0.0. I'm eyeing up implementing this and calling that v3.1.0. Assuming the stay-at-home order here is extended, I'm thinking about next week.

As a follow-up, this is successfully implemented in the issue58 branch and pushed with c40d046. I had to make some backwards compatible API changes so I need to write a bunch more tests before merging it into master.

Closing this with ec44570 and the imminent release of v3.1