#bulletproofs #zero-knowledge #range-proof #crypto

bulletproof-kzen

Implementation of Bulletproofs and Bulletproofs+ aggregated range proofs with multi-exponent verification

2 stable releases

Uses old Rust 2015

1.2.1 Dec 16, 2022
1.2.0 Oct 19, 2021

#2240 in Cryptography

Download history 1062/week @ 2024-07-21 690/week @ 2024-07-28 1209/week @ 2024-08-04 1158/week @ 2024-08-11 861/week @ 2024-08-18 688/week @ 2024-08-25 694/week @ 2024-09-01 729/week @ 2024-09-08 491/week @ 2024-09-15 529/week @ 2024-09-22 431/week @ 2024-09-29 490/week @ 2024-10-06 397/week @ 2024-10-13 313/week @ 2024-10-20 391/week @ 2024-10-27 321/week @ 2024-11-03

1,445 downloads per month
Used in 5 crates (via centipede)

GPL-3.0 license

135KB
3K SLoC

Bulletproofs

This library implements Bulletproofs+ and Bulletproofs aggregated range proofs with multi-exponent verification. The library supports multiple elliptic curves: secp256k1 , ristretto , ed25519

Usage

Control range and batch size using n,m variables. Supported range is any number 0<n<2^64. The library contains multiple test examples that can be followed (run them with Cargo test). To change an elliptic curve, change feature for Curv dependency inside Cargo.toml.

Benchmarks

Run cargo bench. For ristretto the current implementation is ~4x slower than dalek-cryptography.

Contact

Feel free to reach out or join the ZenGo X Telegram for discussions on code and research.

Dependencies

~15MB
~239K SLoC