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

#108 in Cryptography

Download history 2193/week @ 2024-01-16 2745/week @ 2024-01-23 3537/week @ 2024-01-30 2287/week @ 2024-02-06 2501/week @ 2024-02-13 2240/week @ 2024-02-20 2222/week @ 2024-02-27 3171/week @ 2024-03-05 3485/week @ 2024-03-12 3628/week @ 2024-03-19 3515/week @ 2024-03-26 3772/week @ 2024-04-02 4039/week @ 2024-04-09 3427/week @ 2024-04-16 3422/week @ 2024-04-23 2055/week @ 2024-04-30

13,680 downloads per month
Used in 74 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