Bulletproofs-Range
Short zero-knowledge range proofs without a trusted setup
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–2018Bulletproofs published
How it works
- Commit to value v with a Pedersen commitment V = vG + rH.
- Encode the bit decomposition of v and its constraints as vector relations.
- Use Fiat-Shamir challenges to combine the constraints into a single inner-product statement.
- 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
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]
nextssl_root_zk_prove("bulletproofs-range", NULL, setup, statement, witness, out);
// zk is a root-only kind: use the C ABI (nextssl_root_*)
// or the Zk trait in nextssl-core/src/traits.rs
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).
Related families
The NIST Merkle–Damgård hash family behind most of today's TLS, signatures and software
EdDSADeterministic Edwards-curve signatures: Ed25519 and Ed448
Schnorr signatures (BIP 340)Bitcoin's x-only Schnorr signatures on secp256k1, introduced with Taproot
Shamir's Secret SharingSplit a secret into n shares so that any t of them recover it and fewer reveal nothing