#ecdsa #bitcoin #secp256k1

no-std ecdsa_fun

Bitcoin compatible ECDSA signatures based on secp256kfun

20 releases

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

#24 in #secp256k1

Download history 261/week @ 2024-07-24 157/week @ 2024-07-31 309/week @ 2024-08-07 189/week @ 2024-08-14 681/week @ 2024-08-21 288/week @ 2024-08-28 246/week @ 2024-09-04 449/week @ 2024-09-11 431/week @ 2024-09-18 295/week @ 2024-09-25 247/week @ 2024-10-02 375/week @ 2024-10-09 380/week @ 2024-10-16 318/week @ 2024-10-23 156/week @ 2024-10-30 367/week @ 2024-11-06

1,256 downloads per month
Used in farcaster_core

0BSD license

375KB
7K SLoC

ECDSAFun! crates_badge docs_badge

Generate and verify secp256k1 ECDSA signatures. Built on secp256kfun.

Use

[dependencies]
ecdsa_fun = "0.10"
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.4–2MB
~34K SLoC