Skip to content

Releases: paulmillr/noble-hashes

1.5.0

01 Sep 15:30
1.5.0
f51bab4
Compare
Choose a tag to compare
  • Scrypt: relax params check to allow r: 1, p: 8
  • Export additional typescript types
  • Add support for node.js v14.21.3 in addition to v16+
  • Export sha224, sha384, sha512_224, sha512_256 in single-file build

New Contributors

Full Changelog: 1.4.0...1.5.0

1.4.0

14 Mar 06:23
1.4.0
531daab
Compare
Choose a tag to compare
  • Add support for big endian platforms by @jonathan-albrecht-ibm in #81
  • Use XOF constructor wrapper for cShake by @stknob in #82
  • Rename _sha2 to _md
  • utils, _assert: reduce code duplication
  • tsconfig: change module to Node16

Full Changelog: 1.3.3...1.4.0

1.3.3

11 Dec 23:14
1.3.3
d86df4a
Compare
Choose a tag to compare
  • 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: 1.3.2...1.3.3

1.3.2

23 Aug 17:44
1.3.2
c506323
Compare
Choose a tag to compare
  • 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: 1.3.1...1.3.2

1.3.1

03 Jun 12:20
1.3.1
b7ef21e
Compare
Choose a tag to compare

What's Changed

  • Fix utf8ToBytes in firefox extension context (https://bugzil.la/1681809)
  • Ensure blake3 inputs are immutable by @libitx in #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: 1.3.0...1.3.1

1.3.0

16 Mar 19:36
1.3.0
49a7b8d
Compare
Choose a tag to compare

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

Full Changelog: 1.2.0...1.3.0

1.2.0

02 Feb 12:14
1.2.0
ba9d92f
Compare
Choose a tag to compare

Full Changelog: 1.1.5...1.2.0

1.1.5

15 Dec 20:18
1.1.5
dbdc3c2
Compare
Choose a tag to compare

Add two additional SHA2 functions: SHA224 and SHA512-224

Full Changelog: 1.1.4...1.1.5

1.1.4

15 Dec 20:17
1.1.4
2c7ee19
Compare
Choose a tag to compare

Bugfix for SHA2

Full Changelog: 1.1.3...1.1.4

1.1.3

30 Sep 22:45
1.1.3
b842598
Compare
Choose a tag to compare

What's Changed

  • HMAC: improved type check in worker contexts
  • Add TS types field to exports map by @jacogr in #36

New Contributors

Full Changelog: 1.1.2...1.1.3