@noble/hashes
2.4.0 · 27 Aug 2026MIT59.8M / weekRepositoryHomepagenpmAtom feed
41 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 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
Misc
Speed-up Argon2 by 20%
Argon2 cost options are now optional. The defaults are
t: 3,m: 1024 ** 2KiB (1 GiB),p: 1,dkLen: 32, and a 1 GiBmaxmemlimit; larger-memory calls must setmaxmemexplicitly.Corrected scrypt's default
maxmemto work forN: 2 ** 20,r: 8, andp: 1nextTickandasyncLoopnow yield throughscheduler.yield()when available orsetTimeoutotherwise, allowing timers, I/O, and rendering to progress. They also accept optional rejection cleanup; async Argon2, PBKDF2, and scrypt use it to wipe work state if scheduling is aborted.
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
Bugfix: HMAC _cloneInto now preserves canXOF (#134, ChALkeR); Argon2d typo rename (#135).
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 2026Reading the note…
2.0.1
22 Sep 2025Reading the note…
2.0.0
25 Aug 2025Reading the note…
- 1.x
1.8.0
21 Apr 2025Reading the note…
1.7.2
14 Apr 2025Reading the note…
1.7.1
18 Jan 2025Reading the note…
1.7.0
3 Jan 2025Reading the note…
1.6.1
24 Nov 2024Reading the note…
1.6.0
22 Nov 2024Reading the note…
1.5.0
1 Sep 2024Reading the note…
1.4.0
14 Mar 2024Reading the note…
1.3.3
11 Dec 2023Reading the note…
1.3.2
23 Aug 2023Reading the note…
1.3.1
3 Jun 2023Reading the note…
1.3.0
16 Mar 2023Reading the note…
1.2.0
2 Feb 2023Reading the note…
1.1.5
15 Dec 2022Reading the note…
1.1.4
4 Dec 2022Reading the note…
1.1.3
30 Sep 2022Reading the note…
1.1.2
18 Jun 2022Reading the note…
1.1.1
11 Jun 2022Reading the note…
1.1.0
11 Jun 2022Reading the note…
1.0.0
17 Jan 2022Reading the note…
- 0.5.x
0.5.9
6 Jan 2022Reading the note…
0.5.8
6 Jan 2022Reading the note…
0.5.7
31 Dec 2021Reading the note…
0.5.6
24 Dec 2021Reading the note…
0.5.5
22 Dec 2021Reading the note…
0.5.4
22 Dec 2021Reading the note…
0.5.3
21 Dec 2021Reading the note…
0.5.2
21 Dec 2021Reading the note…
0.5.1
20 Dec 2021Reading the note…
0.5.0
20 Dec 2021Reading the note…
- 0.4.x
0.4.5
14 Dec 2021Reading the note…
0.4.4
11 Dec 2021Reading the note…
0.4.3
5 Dec 2021Reading the note…
0.4.2
3 Dec 2021Reading the note…
0.4.1
7 Nov 2021Reading the note…
0.4.0
7 Nov 2021Reading the note…