#bitcoin #ecdsa #secp256k1

ecdsa_fun

Bitcoin compatible ECDSA signatures based on secp256kfun

17 releases

Uses new Rust 2021

new 0.7.1 May 6, 2022
0.7.0 Jan 14, 2022
0.7.0-pre.0 Nov 12, 2021
0.6.1 Apr 21, 2021
0.1.0 Jul 29, 2020

#978 in Magic Beans

Download history 74/week @ 2022-01-17 48/week @ 2022-01-24 77/week @ 2022-01-31 155/week @ 2022-02-07 82/week @ 2022-02-14 220/week @ 2022-02-21 118/week @ 2022-02-28 100/week @ 2022-03-07 74/week @ 2022-03-14 72/week @ 2022-03-21 6/week @ 2022-03-28 204/week @ 2022-04-04 302/week @ 2022-04-11 45/week @ 2022-04-18 377/week @ 2022-04-25 212/week @ 2022-05-02

938 downloads per month
Used in farcaster_core

0BSD license

230KB
4.5K SLoC

ECDSAFun! crates_badge docs_badge

Generate and verify secp256k1 ECDSA signatures. Built on secp256kfun.

Use

[dependencies]
ecdsa_fun = "0.7"
sha2 = "0.9" # You need a hash function for nonce derivation

Should use?

This library and secp256kfun is experimental.

Feature flags

  • libsecp_compat to enable From implementations between rust-secp256k1 types.
  • proptest to enable secp256kfun's proptest feature.
  • adaptor to spec compliant ECDSA adaptor signatures.
  • serde to enable hex and binary serde serialization of data types.

Dependencies

~0.6–1.8MB
~30K SLoC