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

#233 in Cryptography

Download history 3451/week @ 2024-07-23 3826/week @ 2024-07-30 2836/week @ 2024-08-06 1867/week @ 2024-08-13 2764/week @ 2024-08-20 2324/week @ 2024-08-27 2482/week @ 2024-09-03 2239/week @ 2024-09-10 3146/week @ 2024-09-17 2617/week @ 2024-09-24 1727/week @ 2024-10-01 2648/week @ 2024-10-08 1842/week @ 2024-10-15 1646/week @ 2024-10-22 1911/week @ 2024-10-29 1292/week @ 2024-11-05

7,294 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