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: HKDF would be nice

kangert opened this issue · comments

This library already has all SHAs + HMAC.

HKDF implementation would be nice to have the chain complete.

Reading the HKDF specification, it appears that really doesn't require any additional primitives and is implemented in an extra few lines of code given a SHA-256 HMAC implementation. I have no doubt this could be useful for people but I really just want to provide useful hashing primitives.