10 releases

0.0.10 Sep 5, 2025
0.0.9 Nov 1, 2024
0.0.8 Oct 20, 2024
0.0.7 Aug 26, 2024
0.0.1 Jul 22, 2024

#2 in #signing-and-verification

Download history 423/week @ 2025-07-21 694/week @ 2025-07-28 669/week @ 2025-08-04 398/week @ 2025-08-11 550/week @ 2025-08-18 1118/week @ 2025-08-25 1234/week @ 2025-09-01 776/week @ 2025-09-08 1139/week @ 2025-09-15 859/week @ 2025-09-22 499/week @ 2025-09-29 607/week @ 2025-10-06 656/week @ 2025-10-13 622/week @ 2025-10-20 485/week @ 2025-10-27 744/week @ 2025-11-03

2,557 downloads per month
Used in 13 crates (5 directly)

CC0 license

35KB
890 lines

BIP-322

Implements BIP-322, generic message signing and verification.

Types of Signatures

At the moment this crate supports P2TR, P2WPKH and P2SH-P2WPKH single-sig addresses. Feedback through issues or PRs on the interface design and security is welcome and encouraged.

  • simple
  • full
  • full (proof-of-funds)
  • legacy (BIP-137)

The goal is to provide a full signing and verifying library similar to this Javascript library.

Test Vectors

MSRV

At the moment the Minimum Supported Rust Version (MSRV) is 1.63. You can check it by running just msrv.

Dependencies

~8.5MB
~126K SLoC