Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceAlgorithmspairing-bls12-381

Pairings on BLS12-381

Bilinear pairings on the BLS12-381 curve, which EIP-2537 adds to Ethereum as precompiles. It underlies BLS signatures in Ethereum consensus, the KZG commitments of EIP-4844 and Zcash Sapling proofs.

In short

What a quantum computer changes.

Quantum effect
Broken by Shor's algorithm
Family
Classical public keyRests on discrete logarithm in pairing groups.
What it means
Shor's algorithm, run on a large, fault-tolerant quantum computer, factors large numbers and solves discrete logarithms, including those on elliptic curves, far faster than any known classical method. The security of this algorithm rests on discrete logarithm in pairing groups, which is one of those problems. Anyone with such a machine could work out a private key from the matching public key. Signatures could then be forged, and data protected by a key exchange built on this algorithm could be decrypted, including traffic recorded now and kept for later. Longer keys do not fix this. The usual answer is to plan a move to a post-quantum or hybrid scheme.

This describes the family, not any project that uses it.

14 in the catalogue

Packages that provide it

Packages that provide Pairings on BLS12-381
PackageProvides
@noble/curvesnpmPure TypeScript elliptic-curve library: ECDSA on secp256k1 and the NIST P curves, BIP340 Schnorr, Ed25519 and Ed448, X25519 and X448, ECDH, BLS signatures and pairings on BLS12-381 and BN254, FROST threshold signatures and the Poseidon hash.
ethereum-cryptographynpmCollection of the primitives Ethereum uses: secp256k1, BN254 and BLS12-381 curves, Keccak, SHA-2, RIPEMD-160, BLAKE2b, PBKDF2, scrypt, AES, BIP-32, BIP-39 and random bytes.
snarkjsnpmzkSNARK toolkit for Groth16, PLONK and FFLONK proving and verification over BN254 or BLS12-381, including powers of tau trusted setup ceremonies.
ffjavascriptnpmFinite field and elliptic curve library used by snarkjs, with BN254 and BLS12-381 curve and pairing builders.
mcl-wasmnpmWebAssembly build of the mcl pairing library, with BN254, BLS12-381 and other pairing curves and Ethereum consensus serialization.
@noble/bls12-381npmPure JavaScript BLS12-381 pairings and BLS signatures with aggregation.
ark-bls12-381crates.ioThe BLS12-381 pairing-friendly curve (fields, G1, G2 and pairing) for the arkworks ecosystem.
bls12_381crates.ioPure Rust BLS12-381 curve groups G1, G2 and GT with pairings, from the zkcrypto project.
blstcrates.ioRust bindings to the blst C and assembly library for BLS signatures and pairings over BLS12-381.
bls-signaturescrates.ioAggregate BLS signatures over BLS12-381 from the Filecoin project, using blst or the zkcrypto bls12_381 crate as the curve backend.
w3f-blscrates.ioBLS signatures with aggregation and proof-of-possession on BLS12-381 or BLS12-377 through arkworks curve traits, from Web3 Foundation.
bls_on_arkworkscrates.ioBLS signatures following draft-irtf-cfrg-bls-signature-05 on BLS12-381 with SHA-256 in the minimal-pubkey-size variant, built on arkworks.
revm-precompilecrates.ioEVM precompiled contracts for revm: ecrecover (secp256k1), P-256 verification (RIP-7212), SHA-256, RIPEMD-160, the BLAKE2 compression function, modexp, BN254 operations and pairing, BLS12-381 operations (EIP-2537) and KZG point evaluation (EIP-4844).
lambdaworks-mathcrates.ioLambdaworks math for proof systems: finite fields, elliptic curves including BLS12-381 and BN254 with pairings, polynomials, FFT and multi-scalar multiplication.

1 listed

Sources

  1. EIP-2537: Precompile for BLS12-381 curve operationseips.ethereum.orgRetrieved 3 December 2026

Full record

Identifier
pairing-bls12-381
Kind
pairing
Family
Classical public key
Rests on
discrete logarithm in pairing groups
Quantum effect
Broken by Shor's algorithm

Standards