Noble Hashes Versions Save

Audited & minimal JS implementation of hash functions, MACs and KDFs.

1.4.0

2 months ago

Full Changelog: https://github.com/paulmillr/noble-hashes/compare/1.3.3...1.4.0

1.3.3

5 months ago
  • Add module sha2, an alias to already-existing sha256 and sha512
  • sha3-addons: Implement TurboSHAKE (https://eprint.iacr.org/2023/342)
  • utils improvements
    • hexToBytes: speed-up 6x, improve error formatting
    • isBytes: improve reliability in bad environments such as jsdom
    • concatBytes: improve safety by early-checking the type
  • Bump typescript version used to build the package to 5.3.2

Full Changelog: https://github.com/paulmillr/noble-hashes/compare/1.3.2...1.3.3

1.3.2

8 months ago
  • Tree shaking improvements:
    • annotate top-level incovations as pure
    • use const enums
    • decrease wildcard imports of _assert and _u64
    • declare package side-effects free
  • argon2: fix checks for parallelism and iterations parameters
  • utils: fix isPlainObject in serverless environments, used in scrypt and pbkdf2
  • typescript: Disable moduleResolution config setting, since it is viral

New Contributors

Full Changelog: https://github.com/paulmillr/noble-hashes/compare/1.3.1...1.3.2

1.3.1

11 months ago

What's Changed

  • Fix utf8ToBytes in firefox extension context (https://bugzil.la/1681809)
  • Ensure blake3 inputs are immutable by @libitx in https://github.com/paulmillr/noble-hashes/pull/51
  • sha3-addons: add PURE annotations to reduce bundle size
  • utils: harmonize with noble-curves
  • Type fixes
    • sha3, blake3: Fix XOF type issue, closes #55
    • hmac: export HMAC type, fix #52
    • cryptoNode: remove dependency on @types/node

New Contributors

Full Changelog: https://github.com/paulmillr/noble-hashes/compare/1.3.0...1.3.1

1.3.0

1 year ago

Changed logic for importing native cryptography. Built-in crypto (webcrypto) is now used through all platforms, including node.js.

Full Changelog: https://github.com/paulmillr/noble-hashes/compare/1.2.0...1.3.0

1.2.0

1 year ago

Full Changelog: https://github.com/paulmillr/noble-hashes/compare/1.1.5...1.2.0

1.1.5

1 year ago

Add two additional SHA2 functions: SHA224 and SHA512-224

Full Changelog: https://github.com/paulmillr/noble-hashes/compare/1.1.4...1.1.5

1.1.4

1 year ago

1.1.3

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/paulmillr/noble-hashes/compare/1.1.2...1.1.3

1.1.2

1 year ago

Add support for SHA1