1 unstable release

0.10.0 Mar 28, 2025

#1155 in Cryptography

Download history 120/week @ 2025-03-26 21/week @ 2025-04-02 11/week @ 2025-04-09 16/week @ 2025-04-16 4/week @ 2025-04-23 23/week @ 2025-04-30

57 downloads per month
Used in 5 crates (3 directly)

CC0 license

4.5MB
41K SLoC

C 35K SLoC // 0.0% comments Rust 3.5K SLoC // 0.0% comments GNU Style Assembly 741 SLoC // 0.1% comments Python 369 SLoC // 0.4% comments Shell 293 SLoC // 0.1% comments Automake 228 SLoC // 0.0% comments M4 39 SLoC // 0.2% comments

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.

Dependencies

~4.5MB
~52K SLoC