@noble/hashes
2.4.0 · 27 Aug 2026MIT155.8M / weekRepositoryHomepagenpmAtom feed
Upgrading @noble/hashes From 2.0.0 to 2.4.0
4 releases in betweenevery note read
Reading releases, release notes and advisories…
Security
- 2.4.0
Protect passed options against mutation / pollution
- 2.4.0
keccakprg: Fail until entropy is added
- 2.4.0
webcrypto: Reject output sizes which crashed engine
- 2.4.0
blake3: Fix tree merging for multi-terabyte streams
- 2.4.0
Improve zeroization
Release by release
- 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
- Security
2.3.0nothing new or fixed in the note
- New
Add massive amounts of documentation everywhere
- Fixed
Fix all Byte Array types, to ensure proper work in both TypeScript 5.6 & TypeScript 5.9+
- Fixed
Fix compilation issues on TypeScript v6
- New
- Fixed
scrypt: Fix error message for maxmem check
- Fixed
14 other lines we could not sort, mostly version bumps
- 2.3.0
+10-45% 32b inputs across all hashes
- 2.3.0
+40% SHA-3 / SHAKE, +50% 1mb KT128 / KT256 / TurboSHAKE, +20% kmac
- 2.3.0
2.2x argon
- 2.3.0
+20% pbkdf2 and hkdf
- 2.3.0
Better error messages and stricter type checks everywhere
- 2.3.0
blake2.compress renamed to _compress (marked internal).
- 2.3.0
Reduce on-disk unpacked size 869kb → 665kb (-204kb) by disabling source maps (they became less relevant).
- 2.2.0
March 2026 self-audit (all files): no major issues found
- 2.2.0
sha3: speed-up by up to 50%. Contributed
- 2.2.0
Make package Big Endian friendly. All tests pass on s390x
5 internal lines (docs, tests, tooling) left out.
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.