Skip to content

Releases: paulmillr/noble-ciphers

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

0.5.2

25 Mar 17:01
0.5.2
3359d96
Compare
Choose a tag to compare
  • Add AES-CFB
  • Adjust tsconfig

New Contributors

Full Changelog: 0.5.1...0.5.2

0.5.1

09 Feb 18:10
0.5.1
1a951ca
Compare
Choose a tag to compare

Import bugfix

New Contributors

Full Changelog: 0.5.0...0.5.1

0.5.0

09 Feb 12:54
0.5.0
c558337
Compare
Choose a tag to compare
  • Merge all webcrypto modules into one @noble/ciphers/webcrypto
  • Improve type check for chacha options, to ensure proper work in next.js-like environments
  • Improve tree-shaking

Full Changelog: 0.4.1...0.5.0

0.4.1

11 Dec 23:17
0.4.1
1287b85
Compare
Choose a tag to compare
  • AES: fix ctr mode nonce mutation
  • utils improvements
    • isBytes: improve reliability in bad environments such as jsdom
    • concatBytes: improve safety by early-checking the type
    • equalBytes: make constant-time
  • Bump typescript version used to build the package to 5.3.2

Full Changelog: 0.4.0...0.4.1

0.4.0

19 Oct 17:23
0.4.0
9326efd
Compare
Choose a tag to compare
  • Implement AES in pure js
    • ECB, CBC, CTR, GCM, SIV modes are available
    • You can choose between pure js @noble/ciphers/aes and webcrypto @noble/ciphers/webcrypto/aes
    • Useful for platforms such as React Native
  • AES API is now gcm(key, nonce). AES mode length is automatically selected based on key length
  • Speed-up and refactor salsa and chacha
  • webcrypto/aes: export overridable cryptoSubtleUtils
  • utils: speed-up hexToBytes 6x

Full Changelog: 0.3.0...0.4.0

0.3.0

31 Aug 00:48
0.3.0
48f982a
Compare
Choose a tag to compare
  • Add webcrypto aes-gcm opitonal aad by @kigawas in #6
  • Remove @noble/ciphers/simple
  • Fix offsetted key and nonce reported in #7

New Contributors

Full Changelog: 0.2.0...0.3.0

0.2.0

31 Jul 16:45
0.2.0
2ab7b23
Compare
Choose a tag to compare
  • Add @noble/ciphers/simple hassle-free module
  • Add output optional param to AEADs, to be able to reduce allocations
  • Improve tree-shaking
  • Rename:
    • salsa20_poly1305 to salsa20poly1305
    • chacha20_poly1305 to chacha20poly1305
    • xchacha20_poly1305 to xchacha20poly1305

Full Changelog: 0.1.4...0.2.0