Skip to content

Releases: paulmillr/noble-hashes

1.3.3

11 Dec 23:14
1.3.3
d86df4a

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

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

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

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

Choose a tag to compare

Full Changelog: 1.1.5...1.2.0

1.1.5

15 Dec 20:18
1.1.5
dbdc3c2

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

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

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

1.1.2

20 Jun 14:33
1.1.2
1c50ec4

Choose a tag to compare

Add support for SHA1

1.1.1

11 Jun 23:17
1.1.1
82bb3ab

Choose a tag to compare

  • Remove viral esModuleInterop option from tsconfig
  • KDF improvements
  • Performance improvements

Full Changelog: 1.0.0...1.1.1