paulmillr/noble-bls12-381

DEPRECATED: use noble-curves instead. Fastest JS implementation of BLS12-381.

TypeScript

199

309 commits

updated Oct 12, 2024

See the code

README

noble-bls12-381

[!WARNING]
The repository has been merged into noble-curves. Please head to the new repo for updates:

// npm install @noble/curves
import { bls12_381 } from '@noble/curves/bls12-381';

Fastest JS implementation of BLS12-381. Auditable, secure, 0-dependency aggregated signatures & pairings.

The pairing-friendly Barreto-Lynn-Scott elliptic curve construction allows to:

  • Construct zk-SNARKs at the 128-bit security
  • Use threshold signatures, which allows a user to sign lots of messages with one signature and verify them swiftly in a batch, using Boneh-Lynn-Shacham signature scheme.

Compatible with Algorand, Chia, Dfinity, ETH, FIL, ZEC. Matches specs pairing-curves-10, bls-sigs-04, hash-to-curve-12. To learn more about internals, navigate to utilities section.

This library belongs to noble cryptography

noble cryptography — high-security, easily auditable set of contained cryptographic libraries and tools.

Usage

Use NPM in node.js / browser, or include single file from GitHub's releases page:

npm install @noble/bls12-381

License

MIT (c) 2019 Paul Miller (https://paulmillr.com), see LICENSE file.

barreto-lynn-scott
bls12
bls12-381
bls-signature
boneh-lynn-shacham
crypto
curve
ecc
elliptic-curve-cryptography
eth2
noble
pairing
signature-aggregation
signatures
zk-snarks

paulmillr/noble-bls12-381

DEPRECATED: use noble-curves instead. Fastest JS implementation of BLS12-381.

TypeScript

199

309 commits

updated Oct 12, 2024

See the code

README

noble-bls12-381

[!WARNING]
The repository has been merged into noble-curves. Please head to the new repo for updates:

// npm install @noble/curves
import { bls12_381 } from '@noble/curves/bls12-381';

Fastest JS implementation of BLS12-381. Auditable, secure, 0-dependency aggregated signatures & pairings.

The pairing-friendly Barreto-Lynn-Scott elliptic curve construction allows to:

  • Construct zk-SNARKs at the 128-bit security
  • Use threshold signatures, which allows a user to sign lots of messages with one signature and verify them swiftly in a batch, using Boneh-Lynn-Shacham signature scheme.

Compatible with Algorand, Chia, Dfinity, ETH, FIL, ZEC. Matches specs pairing-curves-10, bls-sigs-04, hash-to-curve-12. To learn more about internals, navigate to utilities section.

This library belongs to noble cryptography

noble cryptography — high-security, easily auditable set of contained cryptographic libraries and tools.

Usage

Use NPM in node.js / browser, or include single file from GitHub's releases page:

npm install @noble/bls12-381

License

MIT (c) 2019 Paul Miller (https://paulmillr.com), see LICENSE file.

barreto-lynn-scott
bls12
bls12-381
bls-signature
boneh-lynn-shacham
crypto
curve
ecc
elliptic-curve-cryptography
eth2
noble
pairing
signature-aggregation
signatures
zk-snarks

Project health

Overall

4.2/10

Maintained

0/10

Code review

1/10
OpenSSF Scorecard

Latest release

0.15.0 · Sep 29, 2021

Releases this year

0
Deprecated

Significant stargazers

Vincent Hanquez

336 followers · starred Aug 2019

Anton Bukov

987 followers · starred Nov 2020

Gregor Mitscha-Baude

222 followers · starred Oct 2021

Gregory Magarshak

32 followers · starred Dec 2019