npm @noble/hashes 2.3.0

7 hours ago

Improve speed of small inputs and keccak-based algorithms:

  • +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).
  • Remove source maps, decrease package size meaningfully

Full Changelog: 2.2.0...2.3.0

Don't miss a new hashes release

NewReleases is sending notifications on new releases.