14 releases (9 breaking)

0.10.1 Jan 10, 2024
0.9.2 Jul 18, 2023
0.7.0 Sep 29, 2022
0.6.0 Mar 28, 2022
0.1.0 Jun 3, 2019

#194 in Cryptography

Download history 1843/week @ 2023-12-18 1469/week @ 2023-12-25 1705/week @ 2024-01-01 1618/week @ 2024-01-08 2044/week @ 2024-01-15 2569/week @ 2024-01-22 3692/week @ 2024-01-29 2397/week @ 2024-02-05 2553/week @ 2024-02-12 1964/week @ 2024-02-19 2267/week @ 2024-02-26 3130/week @ 2024-03-04 3417/week @ 2024-03-11 3591/week @ 2024-03-18 3875/week @ 2024-03-25 3484/week @ 2024-04-01

14,519 downloads per month
Used in 73 crates (18 directly)

CC0 license

4.5MB
40K SLoC

C 35K SLoC // 0.0% comments Rust 2.5K SLoC // 0.0% comments GNU Style Assembly 741 SLoC // 0.1% comments Python 369 SLoC // 0.4% comments Shell 293 SLoC // 0.1% comments Automake 228 SLoC // 0.0% comments M4 39 SLoC // 0.2% 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
~55K SLoC