#bulletproofs #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

#1511 in Cryptography

Download history 999/week @ 2023-11-20 898/week @ 2023-11-27 987/week @ 2023-12-04 649/week @ 2023-12-11 426/week @ 2023-12-18 203/week @ 2023-12-25 339/week @ 2024-01-01 485/week @ 2024-01-08 651/week @ 2024-01-15 327/week @ 2024-01-22 643/week @ 2024-01-29 832/week @ 2024-02-05 640/week @ 2024-02-12 890/week @ 2024-02-19 760/week @ 2024-02-26 1364/week @ 2024-03-04

3,663 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

~14MB
~225K SLoC