@noble/hashes
2.4.0 · 27 Aug 2026MIT155.8M / weekRepositoryHomepagenpmAtom feed
2.4.0 is the newest release of 2.x.
In short
1 new2 fixed4 changed
Release note
March 2026 self-audit (all files): no major issues found
Audited for spec compliance and security
Fix:
dkLen=0handling inpbkdf2,blake2,turboshake,ktFix:
parallelHashwithblockLen=0Fix:
argon2progress callback now reaches 100%Improve:
digestIntono longer returns a value (better performance)Improve:
argon2,blake2support non-4-divisibledkLen
Fix all Byte Array types, to ensure proper work in both TypeScript 5.6 & TypeScript 5.9+
TS 5.6 has
Uint8Array, while TS 5.9+ made it genericUint8Array<ArrayBuffer>This creates incompatibility of code between versions
Previously, it was hard to use and constantly emitted errors similar to
TS2345See typescript#62240 for more context
sha3: speed-up by up to 50%. Contributed
Fix compilation issues on TypeScript v6
Make package Big Endian friendly. All tests pass on s390x
Improve tree-shaking, reduce bundle sizes
Add massive amounts of documentation everywhere
(We're skipping v2.1, to align with other noble packages)
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.