Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

Releases: paulmillr/noble-bls12-381

1.4.0

30 Sep 22:49
1.4.0
c514eca
Compare
Choose a tag to compare
  • hashToCurve now works with both G1/G2
  • fromBytes and toBytes have been added to Fp2, Fp6, Fp12
  • Test coverage has been greatly increased with new deterministic test vectors

Full Changelog: 1.3.0...1.4.0

1.3.0

24 Jul 13:17
1.3.0
ea10912
Compare
Choose a tag to compare
  • 10% speed-up in various scenarios
  • Fix powMod bugs
  • Make hex serialization more strict
  • Fix toString() for G1 and G2 Zero point. by @christianpaquin in #54
  • Adds compressed serialization for G2 points by @christianpaquin in #53

Full Changelog: 1.2.0...1.3.0

1.2.0

06 Jan 00:39
1.2.0
a864b5c
Compare
Choose a tag to compare
  • Important: removed string (hex) return type from public methods. Uint8Array is now always returned
  • 20% speedup due to https://eprint.iacr.org/2021/1130
  • Improve hex parsing security
  • Fix ESM/typescript

1.1.0

30 Dec 13:52
1.1.0
9b9be77
Compare
Choose a tag to compare
  • ECMAScript Modules (ESM) support
  • Deno support

1.0.1

11 Nov 20:14
1.0.1
2a72499
Compare
Choose a tag to compare

Fixes default DST label

1.0.0

05 Nov 13:53
1.0.0
913b358
Compare
Choose a tag to compare
  • Security improvement: moved npm package to @noble/bls12-381 (from noble-bls12-381). Namespaces cannot be used by other people, so by using @noble you can be sure it's authentic

0.15.0

29 Sep 14:53
0.15.0
09de2ae
Compare
Choose a tag to compare

Added utils.hashToField. Thanks @iancoleman

0.14.1

28 Jul 14:12
0.14.1
3ba4ff8
Compare
Choose a tag to compare
  • Fp#sqrt can now return undefined values when the Fp item itself is not square
  • PointG1.isOnCurve() got its implementation fixed by employing sigma endomorphism instead of hEff multiplication

Thanks to @guidovranken for reporting both bugs

0.14.0

12 Jul 06:26
0.14.0
5ad484b
Compare
Choose a tag to compare
  • Add G1.clearCofactor()
  • Fix aggregateSignatures() return type
  • Improve utils.randomPrivateKey() to be uniform
  • Disallow all Point.multiply() values higher than CURVE.r

0.13.1

26 Jun 23:56
0.13.1
afa8e89
Compare
Choose a tag to compare
  • Fixed an issue reported by @guidovranken that allowed invalid points to be added to aggregate() signatures/publickeys
  • Added support for service workers