Audited & minimal JS implementation of elliptic curve cryptography.
Full Changelog: https://github.com/paulmillr/noble-curves/compare/1.3.0...1.4.0
Group
interface for DecafPoint
and RistrettoPoint
by @sublimator in https://github.com/paulmillr/noble-curves/pull/85
weierstrassPoints
missing CURVE object by @secure12 in https://github.com/paulmillr/noble-curves/pull/92
hexToBytes
: speed-up 6x, improve error formatting by @arobsn in https://github.com/paulmillr/noble-curves/pull/83
isBytes
: improve reliability in bad environments such as jsdomconcatBytes
: improve safety by early-checking the typeequalBytes
: make constant-timeFull Changelog: https://github.com/paulmillr/noble-curves/compare/1.2.0...1.3.0
2^-64
to 2^-curve_security_level
sideEffects: false
to package.json,
add pure annotations to ed25519Full Changelog: https://github.com/paulmillr/noble-curves/compare/1.1.0...1.2.0
verify
now provide non-repudiation (Strongly Binding Signatures) when option zip215: false
is used
weierstrass
: sign
return type was changed from SignatureType
to RecoveredSignatureType
edwards
: rename edwardsToMontgomery
to edwardsToMontgomeryPub
, add edwardsToMontgomeryPriv
Full Changelog: https://github.com/paulmillr/noble-curves/compare/1.0.0...1.1.0
First stable release. API should remain stable now.
ed25519, ed448: changed API
context
is now an option in sign
and verify
zip215
is a new verify
option that allows to conform to RFC8032 when false
. For true
it will instead match ZIP215.edwardsToMontgomery
functionbls12-381: changed API
CURVE
is no longer exposed, it was an internal property. Use G1.CURVE
, G2.CURVE
fields: {Fp, Fp2, Fp6, Fp12, Fr}
propertyweierstrass: improved DER decoding. Validate curve creation
Updated Wycheproof vectors to v0.9
hash-to-curve: restrict expand
to xmd
and xof
Full Changelog: https://github.com/paulmillr/noble-curves/compare/0.9.1...1.0.0
Full Changelog: https://github.com/paulmillr/noble-curves/compare/0.9.0...0.9.1
weierstrassPoints
initializationFull Changelog: https://github.com/paulmillr/noble-curves/compare/0.8.3...0.9.0
Update hashes and devDependencies
Full Changelog: https://github.com/paulmillr/noble-curves/compare/0.8.2...0.8.3
Full Changelog: https://github.com/paulmillr/noble-curves/compare/0.8.1...0.8.2
Invalid release, re-published as 0.8.2
Full Changelog: https://github.com/paulmillr/noble-curves/compare/0.8.0...0.8.1