Audited & minimal JS implementation of elliptic curve cryptography.
MIT License
Bot releases are hidden (Show)
abstract/tower
for pairing-friendly curvesFull Changelog: https://github.com/paulmillr/noble-curves/compare/1.5.0...1.6.0
Published by paulmillr 2 months ago
toAffine
and assertValidity
, to speed-up BLSFull Changelog: https://github.com/paulmillr/noble-curves/compare/1.4.2...1.5.0
Published by paulmillr 4 months ago
Full Changelog: https://github.com/paulmillr/noble-curves/compare/1.4.1...1.4.2
Published by paulmillr 4 months ago
Full Changelog: https://github.com/paulmillr/noble-curves/compare/1.4.0...1.4.1
Published by paulmillr 7 months ago
Full Changelog: https://github.com/paulmillr/noble-curves/compare/1.3.0...1.4.0
Published by paulmillr 10 months ago
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
Published by paulmillr about 1 year ago
2^-64
to 2^-curve_security_level
sideEffects: false
to package.json,Full Changelog: https://github.com/paulmillr/noble-curves/compare/1.1.0...1.2.0
Published by paulmillr over 1 year ago
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
Published by paulmillr over 1 year ago
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
Published by paulmillr over 1 year ago
Full Changelog: https://github.com/paulmillr/noble-curves/compare/0.9.0...0.9.1
Published by paulmillr over 1 year ago
weierstrassPoints
initializationFull Changelog: https://github.com/paulmillr/noble-curves/compare/0.8.3...0.9.0
Published by paulmillr over 1 year ago
Update hashes and devDependencies
Full Changelog: https://github.com/paulmillr/noble-curves/compare/0.8.2...0.8.3
Published by paulmillr over 1 year ago
Full Changelog: https://github.com/paulmillr/noble-curves/compare/0.8.1...0.8.2
Published by paulmillr over 1 year ago
Invalid release, re-published as 0.8.2
Full Changelog: https://github.com/paulmillr/noble-curves/compare/0.8.0...0.8.1
Published by paulmillr over 1 year ago
Full Changelog: https://github.com/paulmillr/noble-curves/compare/0.7.3...0.8.0
Published by paulmillr over 1 year ago
Full Changelog: https://github.com/paulmillr/noble-curves/compare/0.7.2...0.7.3
Published by paulmillr over 1 year ago
Full Changelog: https://github.com/paulmillr/noble-curves/compare/0.7.1...0.7.2
Published by paulmillr over 1 year ago
Montgomery improvements
Published by paulmillr over 1 year ago
Full Changelog: https://github.com/paulmillr/noble-curves/compare/0.6.4...0.7.0
Published by paulmillr over 1 year ago
Typescript fixes
Full Changelog: https://github.com/paulmillr/noble-curves/compare/0.6.3...0.6.4