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
- Host: GitHub
- URL: https://github.com/lovesh/bulletproofs-amcl
- Owner: lovesh
- License: apache-2.0
- Created: 2019-01-01T20:46:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-04T14:11:52.000Z (about 5 years ago)
- Last Synced: 2025-01-30T21:20:01.379Z (3 months ago)
- Topics: bulletproofs, range-proofs
- Language: Rust
- Size: 1.09 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
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.