#crypto #ECDSA #secp256k1 #libsecp256k1 #bitcoin

secp256k1-plus

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

1 unstable release

Uses old Rust 2015

0.5.7 Aug 4, 2017

#8 in #libsecp256k1

Download history 14/week @ 2020-07-29 6/week @ 2020-08-05 34/week @ 2020-08-12 29/week @ 2020-08-19 23/week @ 2020-08-26 32/week @ 2020-09-02 18/week @ 2020-09-09 20/week @ 2020-09-16 20/week @ 2020-09-23 26/week @ 2020-09-30 18/week @ 2020-10-07 41/week @ 2020-10-14 13/week @ 2020-10-21 19/week @ 2020-10-28 27/week @ 2020-11-04 17/week @ 2020-11-11

75 downloads per month
Used in 5 crates

CC0 license

410KB
8K SLoC

C 5.5K SLoC // 0.1% comments Rust 1.5K SLoC // 0.1% comments GNU Style Assembly 748 SLoC // 0.1% comments Java 290 SLoC // 0.3% comments Automake 138 SLoC 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

~765KB
~15K SLoC