Crates.io | tari_bulletproofs_plus |
lib.rs | tari_bulletproofs_plus |
version | 0.4.0 |
source | src |
created_at | 2023-04-03 17:38:40.229161 |
updated_at | 2024-05-07 15:55:29.794874 |
description | A smaller faster implementation of Bulletproofs |
homepage | |
repository | |
max_upload_size | |
id | 829295 |
size | 1,045,367 |
A speedy implementation of the Bulletproofs+ range proving system that does fun tricks.
In particular, it supports:
Compared to an updated fork of the dalek-cryptography
Bulletproofs implementation, this Bulletproofs+ implementation is:
As always, your mileage may vary.
This library underwent a code audit by Quarkslab at a specific point in the repository history. You can read the report and issue responses in this repository.
The library is #![no_std]
-friendly when default features are disabled.
The (default) rand
feature adds prover and verifier functionality using the OsRng
random number generator.
If it is not enabled, you must supply your own cryptographically-secure random number generator.
The (default) std
feature enables corresponding functionality in dependencies.
Unit tests are available via cargo test
. Basic fuzz testing can be run (on a nightly toolchain) via cargo fuzz
.
This implementation takes its cue from the dalek-cryptography
Bulletproofs implementation, as well as the Monero Bulletproofs+ implementation.
Several of the features and optimizations used in this implementation are described in Tari RFC-0181.
All original source code files are marked with
Copyright 2022 The Tari Project
SPDX-License-Identifier: BSD-3-Clause
All re-used and or adapted dalek-cryptography
source code files are marked with
Copyright 2022 The Tari Project
SPDX-License-Identifier: BSD-3-Clause
Modified from:
Copyright (c) 2018 Chain, Inc.
SPDX-License-Identifier: MIT