Zero-knowledge proofs

Bulletproofs-Range

Short zero-knowledge range proofs without a trusted setup

unverified Root API only
Unverified tier.

Source found and wired, correctness not fully proven. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.

About Bulletproofs-Range

Bulletproofs-Range is a zero-knowledge proof system from the Bulletproofs family. NextSSL lists it in the unverified tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).

Overview

Bulletproofs are non-interactive zero-knowledge proofs that are logarithmic in size and need no trusted setup. They are best known for range proofs, which show that a committed value lies in an interval without revealing it, as used in confidential transactions.

A Bulletproofs range proof starts from a Pedersen commitment V = vG + rH to a secret value v. The prover writes v in binary, expresses the constraints that each bit is 0 or 1 and that the bits reconstruct v as inner-product relations, and proves them with a recursive inner-product argument that halves the vector length at each step. A 64-bit range proof is under 700 bytes, and multiple proofs can be aggregated with only logarithmic growth.

Security relies on the discrete logarithm assumption, and proofs are made non-interactive with the Fiat-Shamir transform. Verification is linear in the size of the statement, which is slower than SNARKs, but there is no trusted setup ceremony to compromise. Monero adopted Bulletproofs in 2018 to shrink confidential transaction sizes. One variant is present: bulletproofs-range. Batch verification of many proofs reduces the cost per proof considerably.

History

2018–2018
  1. Bulletproofs published

How it works

  1. Commit to value v with a Pedersen commitment V = vG + rH.
  2. Encode the bit decomposition of v and its constraints as vector relations.
  3. Use Fiat-Shamir challenges to combine the constraints into a single inner-product statement.
  4. Prove the inner product recursively in log(n) rounds; the verifier recomputes challenges and checks the final relation.

Security notes

Implementations must include every public input in the Fiat-Shamir transcript; omissions (the Frozen Heart class of bugs) have allowed forged proofs in real libraries. Not post-quantum: a quantum adversary could break soundness, though Pedersen commitments stay hiding.

Typical uses

Confidential transaction amounts in cryptocurrenciesProving a value is within bounds without revealing itAggregated range proofs for privacy-preserving audits

Sizes

The registry declares no fixed sizes for this algorithm.

Use it

from nextssl_demo import NextSSL

root = NextSSL(root=True)   # tier 'unverified' is reachable from the root API only
proof = root.call("zk_prove", "bulletproofs-range", None, setup, statement, witness)[0]

Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.

Frequently asked questions

What is Bulletproofs-Range?

Bulletproofs-Range is a ZK in the Bulletproofs family. Bulletproofs are non-interactive zero-knowledge proofs that are logarithmic in size and need no trusted setup.

Who designed Bulletproofs-Range and when?

Bulletproofs-Range belongs to the Bulletproofs family, first published in 2018 by Benedikt Bünz, Jonathan Bootle, Dan Boneh, Andrew Poelstra, Pieter Wuille, Greg Maxwell. Its origin: IEEE Symposium on Security and Privacy 2018.

Is Bulletproofs-Range safe to use?

Bulletproofs-Range is in the unverified tier. Source found and wired, correctness not fully proven. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).