LNP-BP / rust-secp256k1-zkp

ZKP fork for rust-secp256k1, adds wrappers for range proofs, pedersen commitments, etc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Continuous integration

rust-secp256k1-zkp

rust-secp256k1-zkp is a wrapper around libsecp256k1-zkp that also re-exports all bindings from rust-secp256k1. As such, all of its types - SecretKey, Context, etc - are interoperable with the ones defined in rust-secp256k1.

In addition to everything from rust-secp256k1, this library adds type-safe Rust bindings for the following modules:

  • generators
  • range proofs
  • pedersen commitments
  • adaptor signatures

Contributing

Contributions to this library are welcome. A few guidelines:

  • Any breaking changes must have an accompanied entry in CHANGELOG.md
  • No new dependencies, please.
  • No crypto should be implemented in Rust, with the possible exception of hash functions. Cryptographic contributions should be directed upstream to libsecp256k1.
  • This library should always compile with any combination of features on Rust 1.41.1.

About

ZKP fork for rust-secp256k1, adds wrappers for range proofs, pedersen commitments, etc

License:Creative Commons Zero v1.0 Universal


Languages

Language:C 89.3%Language:Rust 5.1%Language:Sage 2.1%Language:Assembly 1.3%Language:M4 1.2%Language:Shell 0.5%Language:Makefile 0.4%Language:Dockerfile 0.1%