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

#253 in Cryptography

Download history 2826/week @ 2024-08-19 2351/week @ 2024-08-26 2501/week @ 2024-09-02 1860/week @ 2024-09-09 3513/week @ 2024-09-16 2550/week @ 2024-09-23 1777/week @ 2024-09-30 2375/week @ 2024-10-07 2080/week @ 2024-10-14 1742/week @ 2024-10-21 1876/week @ 2024-10-28 1250/week @ 2024-11-04 1054/week @ 2024-11-11 1073/week @ 2024-11-18 1620/week @ 2024-11-25 1268/week @ 2024-12-02

5,081 downloads per month
Used in 95 crates (19 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
~61K SLoC