An open API service indexing awesome lists of open source software.

https://github.com/lovesh/bulletproofs-amcl

Bulletproofs for a pairing friendly curve using milagro crypto
https://github.com/lovesh/bulletproofs-amcl

bulletproofs range-proofs

Last synced: about 1 month ago
JSON representation

Bulletproofs for a pairing friendly curve using milagro crypto

Awesome Lists containing this project

README

        

# Bulletproofs

1. Bulletproofs implementation primarily intended for a pairing friendly curve. Only 2 curves are supported, BLS12-381 and BN254 for now.
Defaults to BLS12-381. Curve can be changed by changing default feature.
2. Largely based on [dalek's Bulletproof implementation](https://github.com/dalek-cryptography/bulletproofs).
dalek's is not used since it works over Ristretto curve but since Ursa's credentials are on a pairing friendly curve,
the Bulletproof needs to work over the same curve. The code is distributed under the terms of both the MIT license and the Apache 2.0 License.
3. Uses [Apache Milagro](https://github.com/milagro-crypto/amcl) for finite field and elliptic curve operations.
4. R1CS support is present though the API differs from dalek's. For gadgets, check [here](src/r1cs/gadgets).

## License
Licensed under either of
- Apache License, Version 2.0, ([LICENSE-APACHE](./LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license ([LICENSE-MIT](./LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.