Skip to content

Releases: paulmillr/noble-curves

1.1.0

03 Jun 12:39
1.1.0
62e806c
Compare
Choose a tag to compare

What's Changed

  • ed25519 and ed448 verify now provide non-repudiation (Strongly Binding Signatures) when option zip215: false is used
  • 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 from SignatureType to RecoveredSignatureType
  • edwards: rename edwardsToMontgomery to edwardsToMontgomeryPub, add edwardsToMontgomeryPriv
  • 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

Full Changelog: 1.0.0...1.1.0

1.0.0

12 Apr 02:42
1.0.0
d61c7ae
Compare
Choose a tag to compare

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.
  • Added edwardsToMontgomery function

bls12-381: changed API

  • CURVE is no longer exposed, it was an internal property. Use G1.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

31 Mar 13:41
0.9.1
19f04a4
Compare
Choose a tag to compare
  • 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

24 Mar 11:13
0.9.0
0ffa38d
Compare
Choose a tag to compare
  • 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

16 Mar 19:35
0.8.3
1c6aa07
Compare
Choose a tag to compare

Update hashes and devDependencies

Full Changelog: 0.8.2...0.8.3

0.8.2

13 Mar 23:55
0.8.2
5784ef2
Compare
Choose a tag to compare
  • 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

13 Mar 23:54
0.8.1
1cfd6a7
Compare
Choose a tag to compare

Invalid release, re-published as 0.8.2

Full Changelog: 0.8.0...0.8.1

0.8.0

05 Mar 02:50
0.8.0
49a659b
Compare
Choose a tag to compare
  • 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

05 Mar 02:48
0.7.3
b8b2e91
Compare
Choose a tag to compare
  • hash-to-curve improvements

Full Changelog: 0.7.2...0.7.3

0.7.2

05 Mar 02:47
0.7.2
0163b63
Compare
Choose a tag to compare
  • Move p192, p224 from main pkg
  • montgomery: add randomPrivateKey

Full Changelog: 0.7.1...0.7.2