Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceAlgorithmskzg

KZG polynomial commitments

The Kate-Zaverucha-Goldberg scheme commits to a polynomial with one group element and opens it at any point with a constant-size proof, using pairings and a trusted setup. Ethereum uses it for blob commitments and the point evaluation precompile of EIP-4844, and many PLONK-style proof systems use it.

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.

8 in the catalogue

Packages that provide it

Packages that provide KZG polynomial commitments
PackageProvides
micro-eth-signernpmMinimal Ethereum library for secp256k1 transaction and message signing, legacy and EIP-2335 keystores, EIP-2333 key derivation, and KZG and PeerDAS blob commitments.
c-kzgnpmNode.js bindings for c-kzg-4844, computing and verifying KZG commitments and proofs for Ethereum blobs.
kzg-wasmnpmWebAssembly build of c-kzg-4844 for EIP-4844 KZG commitments and proofs and EIP-7594 cell operations.
ark-poly-commitcrates.ioPolynomial commitment schemes for zkSNARKs: KZG variants from Marlin and Sonic, an inner-product-argument scheme, Hyrax, and hash-based Ligero and Brakedown.
c-kzgcrates.ioRust bindings to C-KZG-4844, the C implementation of the KZG polynomial commitment API for Ethereum blobs (EIP-4844) and cells (EIP-7594), built on blst.
kzg-rscrates.ioPure Rust KZG proof verification for EIP-4844 blobs, matching c-kzg-4844, on a fork of the bls12_381 crate and usable inside the SP1 zkVM.
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-cryptocrates.ioLambdaworks primitives for proof systems: KZG commitments, Merkle trees, Fiat-Shamir transcripts and hashes including Poseidon, Pedersen, Rescue Prime and Monolith.

2 listed

Sources

Full record

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

Standards