browserify / browserify/createHmac
HMAC with SHA-512/224 and SHA-512/256 is broken
Open
- Dominant language
- JavaScript
- Stars
- 60
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
It is the same issue as https://github.com/browserify/pbkdf2/issues/82#issuecomment-3395223144 where the block size is derived by comparing against the strings `"sha512"` and `"sha384"` which means `"sha512-224"` and `"sha512-256"` get the default. This code was imported into Deno where I first spotted it there as https://github.com/denoland/deno/issues/31765.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.