#ecdsa #bitcoin #secp256k1

no-std ecdsa_fun

Bitcoin compatible ECDSA signatures based on secp256kfun

21 unstable releases

0.11.0 Feb 6, 2025
0.10.0 Feb 19, 2024
0.9.0 May 8, 2023
0.8.1 Dec 16, 2022
0.1.0 Jul 29, 2020

#986 in Magic Beans

Download history 164/week @ 2024-10-28 346/week @ 2024-11-04 667/week @ 2024-11-11 409/week @ 2024-11-18 319/week @ 2024-11-25 226/week @ 2024-12-02 253/week @ 2024-12-09 241/week @ 2024-12-16 114/week @ 2024-12-23 95/week @ 2024-12-30 133/week @ 2025-01-06 226/week @ 2025-01-13 148/week @ 2025-01-20 27/week @ 2025-01-27 199/week @ 2025-02-03 52/week @ 2025-02-10

458 downloads per month
Used in farcaster_core

0BSD license

395KB
7.5K SLoC

ECDSAFun! crates_badge docs_badge

Generate and verify secp256k1 ECDSA signatures. Built on secp256kfun.

Use

[dependencies]
ecdsa_fun = "0.11"
sha2 = "0.10" # 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.
  • bincode: for bincode v2 Encode/Decode implementations

Dependencies

~0.3–2MB
~33K SLoC