@noble/hashes
2.4.0 · 27 Aug 2026MIT142.7M / weekRepositoryHomepagenpmAtom feed
Where each line stands
Plan an upgradeLatest releases
All 41 releases- 2.x · latest line
2.4.0
27 Aug 2026- Security
Protect passed options against mutation / pollution
- Security
keccakprg: Fail until entropy is added
- Security
webcrypto: Reject output sizes which crashed engine
Security and correctness
- Security
Protect passed options against mutation / pollution
- Security
keccakprg: Fail until entropy is added
- Security
webcrypto: Reject output sizes which crashed engine
- Security
blake3: Fix tree merging for multi-terabyte streams
- Security
Improve zeroization
2.3.0
6 Aug 2026+10-45% 32b inputs across all hashes
+40% SHA-3 / SHAKE, +50% 1mb KT128 / KT256 / TurboSHAKE, +20% kmac
2.2x argon
Improve speed:
+10-45% 32b inputs across all hashes
+40% SHA-3 / SHAKE, +50% 1mb KT128 / KT256 / TurboSHAKE, +20% kmac
2.2x argon
+20% pbkdf2 and hkdf
Other changes:
Better error messages and stricter type checks everywhere
blake2.compress renamed to _compress (marked internal).
Reduce on-disk unpacked size 869kb → 665kb (-204kb) by disabling source maps (they became less relevant).
2.2.0
11 Apr 2026March 2026 self-audit (all files): no major issues found
Fix all Byte Array types, to ensure proper work in both TypeScript 5.6 & TypeScript 5.9+
sha3: speed-up by up to 50%. Contributed
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)
Dependency tracking · free for 3 projects
Know when your own dependencies move
This page watches @noble/hashes. inlinr reads your package.json and keeps the same watch on every dependency you declare, then tells you only what needs you.
Advisories reach you
An email when a critical or high advisory affects a project, before the next install.
Upgrades checked first
Peer ranges, Node, ESM-only and types changes read before you bump.
Only what matters
Majors and breaking notes stay; patches and sibling bumps fold into one line.
Reading releases, release notes and advisories…
Registry facts last checked 9 Nov 2026. Releases and advisories last read 9 Nov 2026.