15 releases (breaking)

0.11.0 Jul 9, 2024
0.10.1 Jan 10, 2024
0.9.2 Jul 18, 2023
0.7.0 Sep 29, 2022
0.1.0 Jun 3, 2019

#234 in Cryptography

Download history 2748/week @ 2024-07-18 4337/week @ 2024-07-25 2915/week @ 2024-08-01 2649/week @ 2024-08-08 2348/week @ 2024-08-15 2539/week @ 2024-08-22 2317/week @ 2024-08-29 2319/week @ 2024-09-05 2834/week @ 2024-09-12 2552/week @ 2024-09-19 2536/week @ 2024-09-26 1940/week @ 2024-10-03 2573/week @ 2024-10-10 1957/week @ 2024-10-17 1287/week @ 2024-10-24 1810/week @ 2024-10-31

8,165 downloads per month
Used in 91 crates (15 directly)

CC0 license

4.5MB
40K SLoC

C 36K SLoC // 0.0% comments Rust 2.5K SLoC // 0.0% comments GNU Style Assembly 753 SLoC // 0.1% comments Python 444 SLoC // 0.3% comments Shell 433 SLoC // 0.1% comments Automake 265 SLoC // 0.1% comments M4 60 SLoC // 0.1% 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

~5.5MB
~60K SLoC