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: KangarooTwelve and MarsupilamiFourteen

DonaldTsang opened this issue · comments

I feel terrible here but I didn't see this bug filed a year ago. It appears that these are non-SHA variants? If so, I'm really trying to limit this library to the official NIST standards.

@Caligatio it is recommended by the cryptographers of Keccak that if SHA3 is not well adopted it is recommended that people use KangarooTwelve and such as a replacement for SHAKE and the fast BLAKE2.
https://tools.ietf.org/html/draft-irtf-cfrg-kangarootwelve-00

If you want to stick to NIST standards, then indeed K12 isn't part of them (but it is currently a CFRG RFC draft).

However, K12 is IMHO an interesting alternative to SHAKE, with potential code reuse: It is very fast and relies on the same cryptanalysis track-record as Keccak.

@gvanas exactly, once it gets passed and standardized it would be a good idea to include it as a "NIST alternative" that is approved by the same researchers, which I hope that we can add this in for completeness and utility.

@DonaldTsang Sure. To speed up the process, do not hesitate to speak up on the CFRG mailing list.

Closing this due to proposed additional suites not being a SHA standard. Might revisit if/when the RFC is finalized.