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

#142 in Cryptography

Download history 4274/week @ 2024-04-04 3564/week @ 2024-04-11 4038/week @ 2024-04-18 2439/week @ 2024-04-25 2080/week @ 2024-05-02 2016/week @ 2024-05-09 2170/week @ 2024-05-16 3232/week @ 2024-05-23 2813/week @ 2024-05-30 2413/week @ 2024-06-06 2498/week @ 2024-06-13 2078/week @ 2024-06-20 2367/week @ 2024-06-27 2108/week @ 2024-07-04 2578/week @ 2024-07-11 2236/week @ 2024-07-18

9,624 downloads per month
Used in 85 crates (18 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
~56K SLoC