#crypto #ECDSA #secp256k1 #libsecp256k1 #bitcoin

secp256k1-test

Rust bindings for Pieter Wuille’s libsecp256k1 library. Implements ECDSA for the SECG elliptic curve group secp256k1 and related utilities.

2 releases

Uses old Rust 2015

0.7.2 Dec 26, 2017
0.7.1 Nov 13, 2017

#629 in Cryptography

Download history 16/week @ 2020-07-28 6/week @ 2020-08-04 13/week @ 2020-08-11 14/week @ 2020-08-18 13/week @ 2020-08-25 23/week @ 2020-09-01 17/week @ 2020-09-08 6/week @ 2020-09-15 5/week @ 2020-09-22 9/week @ 2020-09-29 9/week @ 2020-10-06 7/week @ 2020-10-13 7/week @ 2020-10-20 7/week @ 2020-10-27 5/week @ 2020-11-03 8/week @ 2020-11-10

59 downloads per month
Used in 2 crates

CC0 license

355KB
7K SLoC

C 5K SLoC // 0.1% comments Rust 2K SLoC // 0.1% comments Automake 95 SLoC Java 34 SLoC // 0.4% comments Shell 2 SLoC

Build Status

rust-secp256k1

rust-secp256k1 is a wrapper around libsecp256k1, a C library by Peter Wuille for producing ECDSA signatures using the SECG curve secp256k1. This library

  • exposes type-safe Rust bindings for all libsecp256k1 functions
  • implements key generation
  • implements deterministic nonce generation via RFC6979
  • implements many unit tests, adding to those already present in libsecp256k1
  • makes no allocations (except in unit tests) for efficiency and use in freestanding implementations

Full documentation


lib.rs:

Secp256k1

Rust bindings for Pieter Wuille's secp256k1 library, which is used for fast and accurate manipulation of ECDSA signatures on the secp256k1 curve. Such signatures are used extensively by the Bitcoin network and its derivatives.

Dependencies

~1.5MB
~31K SLoC