Releases: paulmillr/noble-ciphers
Releases · paulmillr/noble-ciphers
1.3.0
- 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
- Old:
- 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
- Use typescript verbatimModuleSyntax to support future node.js type stripping
Full Changelog: 1.2.0...1.2.1
1.2.0
- 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
- 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
- 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
1.1.0
- 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
- 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
0.5.3
- 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
- @antonioconselheiro made their first contribution in #34
Full Changelog: 0.5.2...0.5.3