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

#276 in Cryptography

Download history 2717/week @ 2024-09-13 3075/week @ 2024-09-20 2118/week @ 2024-09-27 1930/week @ 2024-10-04 2680/week @ 2024-10-11 1740/week @ 2024-10-18 1570/week @ 2024-10-25 1550/week @ 2024-11-01 1095/week @ 2024-11-08 964/week @ 2024-11-15 1633/week @ 2024-11-22 1350/week @ 2024-11-29 1724/week @ 2024-12-06 1585/week @ 2024-12-13 700/week @ 2024-12-20 278/week @ 2024-12-27

4,548 downloads per month
Used in 51 crates (11 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