Skip to content

Releases: paulmillr/noble-ciphers

1.3.0

24 Apr 17:03
1.3.0
953f9aa
Compare
Choose a tag to compare
  • Modules are now available with .js extension
    • Old: @noble/ciphers/chacha
    • New: @noble/ciphers/chacha.js
    • Old path is still available
    • This simplifies working in browsers natively without transpilers
  • utils: use built-in Uint8Array toHex / fromHex when available. Gives 13x speed-up on 256b arrays, 20x speed-up on 32kb arrays
  • utils.randomBytes: ensure same return type Uint8Array in old nodejs
  • Move _assert into utils
  • Rename siv to gcmsiv
  • Standalone build files are now attested in CI. Check out README for verification guide
  • Typescript source can now be used without compilation in node.js v24, due to erasableSyntaxOnly

Full Changelog: 1.2.1...1.3.0

1.2.1

18 Jan 09:35
1.2.1
63df581
Compare
Choose a tag to compare
  • Use typescript verbatimModuleSyntax to support future node.js type stripping

Full Changelog: 1.2.0...1.2.1

1.2.0

03 Jan 01:04
1.2.0
07a965b
Compare
Choose a tag to compare
  • The package is now available on JSR.
  • Use isolatedDeclarations typescript option, which massively simplifies documentation auto-gen, and more
    • Check out JSR page for one example
  • Add tons of comments everywhere to improve autocompletion, LLM code gen, and basic code understanding.
  • Remove some exports from internal _assert

Full Changelog: 1.1.3...1.2.0

1.1.3

30 Nov 16:03
1.1.3
341a4ae
Compare
Choose a tag to compare
  • Harden input / output buffer checks
    • Ensure all ciphers prohibit overlaps
    • Ensure salsapoly supports overlapping input / output
    • Ensure chachapoly also supports it. This brings v1.0.0 behavior

Full Changelog: 1.1.2...1.1.3

1.1.2

28 Nov 13:35
1.1.2
8e935ef
Compare
Choose a tag to compare
  • Prohibit input and output overlaps
    • Reusing same buffer still works when indexes do not overlap with each other

Full Changelog: 1.1.1...1.1.2

1.1.1

26 Nov 21:01
1.1.1
b4e769e
Compare
Choose a tag to compare
  • Fix usage with unaligned output. Closes gh-47
  • Ensure output is zeroized before usage

Full Changelog: 1.1.0...1.1.1

1.1.0

23 Nov 08:11
1.1.0
4378c6a
Compare
Choose a tag to compare
  • Improve input validation logic: move key, nonce & input validation into wrapCipher
    • Explicitly prohibit calling cipher more than once
  • Speed-up byte array checks
  • Decrease bundle size, improve tree-shaking

New Contributors

Full Changelog: 1.0.0...1.1.0

1.0.0

12 Sep 23:28
1.0.0
428b211
Compare
Choose a tag to compare
  • First audited version
  • Prohibit AES-GCM nonces smaller than 8 bytes
  • Hide unnecessary data exposure in AES errors
  • Improve FF1 type checks
  • Add support for node.js v14

Full Changelog: 0.6.0...1.0.0

0.6.0

05 Aug 22:56
0.6.0
7e88191
Compare
Choose a tag to compare
  • Implement AESKW, AESKWP from RFC 3394 / RFC 5649
  • Add support for unaligned byte arrays
  • Improve typescript compatibility with different module resolutions

Full Changelog: 0.5.3...0.6.0

0.5.3

06 May 13:43
0.5.3
df9fa72
Compare
Choose a tag to compare
  • arx: Remove hard-dependency on TextEncoder
  • arx: Export sigma variable for hsalsa
  • Include default value for AAD argument in webcrypto aes-gcm algorithm

New Contributors

Full Changelog: 0.5.2...0.5.3