Releases: paulmillr/noble-curves
Releases · paulmillr/noble-curves
1.1.0
What's Changed
- ed25519 and ed448
verify
now provide non-repudiation (Strongly Binding Signatures) when optionzip215: false
is used- non-repudiation is useful for e-voting and other systems
- The Provable Security of Ed25519: Theory and Practice
- Taming the many EdDSAs and NIST presentation
- Reduce common-case bundle size by 20% by using PURE annotation. It helps bundlers during tree-shaking and eliminates dead code.
- secp256k1: 75.4kb => 62.3kb
- ed25519: 67.5kb => 51.1kb
- ed448: 55.1kb => 44.0kb
- p256: 67.8kb => 59.8kb
- p384: 75.4kb => 67.4kb
- p521: 75.8kb => 67.8kb
weierstrass
:sign
return type was changed fromSignatureType
toRecoveredSignatureType
edwards
: renameedwardsToMontgomery
toedwardsToMontgomeryPub
, addedwardsToMontgomeryPriv
- bls12-381: improve friendliness to bad compilers by not using bigint literals
- Improve friendliness to bad compilers by not using exponentiation operator with bigints
- ed25519: fix ristrettoHash size typo in hashToCurve by @sublimator in #42
- utils: harmonize with noble-hashes
- utils: Fix utf8ToBytes in firefox extension context (bugzil.la/1681809)
New Contributors
- @mirceanis made their first contribution in #32
- @legobeat made their first contribution in #38
- @sublimator made their first contribution in #42
- Thanks to @Wind4Greg for the involvement in SBS
Full Changelog: 1.0.0...1.1.0
1.0.0
First stable release. API should remain stable now.
ed25519, ed448: changed API
context
is now an option insign
andverify
zip215
is a newverify
option that allows to conform to RFC8032 whenfalse
. Fortrue
it will instead match ZIP215.- Added
edwardsToMontgomery
function
bls12-381: changed API
CURVE
is no longer exposed, it was an internal property. UseG1.CURVE
,G2.CURVE
- Fields have been moved into
fields: {Fp, Fp2, Fp6, Fp12, Fr}
property - See README for new usage
weierstrass: improved DER decoding. Validate curve creation
Updated Wycheproof vectors to v0.9
hash-to-curve: restrict expand
to xmd
and xof
Full Changelog: 0.9.1...1.0.0
0.9.1
- Fix React Native like environments: remove bigint literals
- weierstrass, edwards: make points expose typescript x, y
- edwards: add toRawBytes to typescript type
Full Changelog: 0.9.0...0.9.1
0.9.0
- CURVE.P is now CURVE.p
- abstract/modular: Fp is now Field
- weierstrass: simplified
weierstrassPoints
initialization
Full Changelog: 0.8.3...0.9.0
0.8.3
Update hashes and devDependencies
Full Changelog: 0.8.2...0.8.3
0.8.2
- Common.js support has been brought back
- Stark curve extracted into a separate package
Full Changelog: 0.8.1...0.8.2
0.8.1
Invalid release, re-published as 0.8.2
Full Changelog: 0.8.0...0.8.1
0.8.0
- ESM-only; remove support for common.js modules
- ECDSA: remove scalar blinding
- Stark: more methods
- secp256k1: Fix schnorrGetExtPubKey y coordinate
- secp256k1 Schnorr: remove getExtendedPublicKey
- ristretto255: fix equality testing
Full Changelog: 0.7.3...0.8.0
0.7.3
- hash-to-curve improvements
Full Changelog: 0.7.2...0.7.3
0.7.2
- Move p192, p224 from main pkg
- montgomery: add randomPrivateKey
Full Changelog: 0.7.1...0.7.2