Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceAlgorithmsgroth16

Groth16

A pairing-based zk-SNARK by Jens Groth (2016) with very small proofs and a circuit-specific trusted setup. It is used by Zcash, circom and snarkjs, and many on-chain verifiers.

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 Groth16
PackageProvides
snarkjsnpmzkSNARK toolkit for Groth16, PLONK and FFLONK proving and verification over BN254 or BLS12-381, including powers of tau trusted setup ceremonies.
@aptos-labs/ts-sdknpmAptos TypeScript SDK with Ed25519, secp256k1 and secp256r1 WebAuthn accounts, keyless accounts verified with Groth16 proofs over BN254 and Poseidon, and AES-GCM payload encryption.
ark-groth16crates.ioThe Groth16 zkSNARK prover and verifier for arkworks constraint systems over pairing-friendly curves.
bellmancrates.ioA zk-SNARK circuit library with constraint system traits, basic gadgets and a bundled Groth16 proving system.
sapling-cryptocrates.ioZcash Sapling shielded-pool cryptography: key components, note encryption, the Sapling Pedersen hash and value commitments over Jubjub, and the Spend and Output circuits proved with Groth16.
risc0-zkvmcrates.ioThe RISC Zero RISC-V zkVM: proves guest program execution with STARK receipts that can be compressed into Groth16 receipts.
sp1-sdkcrates.ioSDK for the Succinct SP1 zkVM: proves Rust program execution with a Plonky3-based STARK prover and can wrap proofs as Groth16 or PLONK proofs over BN254 for onchain verification.
sp1-verifiercrates.ioVerifiers for SP1 proofs: Groth16 and PLONK proofs over BN254, plus compressed SP1 proofs.

1 listed

Sources

Full record

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

Standards

No standard is listed for this algorithm.