#cryptography #ecdsa #ed25519 #signing #signatures

signatory

Multi-provider elliptic curve digital signature library with ECDSA and Ed25519 support

54 releases

Uses new Rust 2021

0.26.0 Aug 19, 2022
0.25.0 May 18, 2022
0.24.0 Jan 6, 2022
0.23.2 Aug 3, 2021
0.3.2 Mar 31, 2018

#590 in Cryptography

Download history 8484/week @ 2022-06-12 6632/week @ 2022-06-19 7400/week @ 2022-06-26 6884/week @ 2022-07-03 8209/week @ 2022-07-10 7411/week @ 2022-07-17 7383/week @ 2022-07-24 5624/week @ 2022-07-31 7397/week @ 2022-08-07 6969/week @ 2022-08-14 6521/week @ 2022-08-21 6433/week @ 2022-08-28 5352/week @ 2022-09-04 6351/week @ 2022-09-11 7040/week @ 2022-09-18 8209/week @ 2022-09-25

27,352 downloads per month
Used in 5 crates

Apache-2.0 OR MIT

130KB
1K SLoC

Signatory

crate Docs Apache2/MIT licensed MSRV Build Status

Pure Rust digital signature library with support for elliptic curve digital signature algorithms, namely ECDSA (FIPS 186‑4) and Ed25519 (RFC 8032).

Documentation

About

This crate provides a thread-and-object-safe API for both creating and verifying elliptic curve digital signatures, using either software-based or hardware-based providers.

The following algorithms are supported:

  • ECDSA: Elliptic Curve Digital Signature Algorithm (FIPS 186‑4)
  • Ed25519: Edwards Digital Signature Algorithm (EdDSA) instantiated using the twisted Edwards form of Curve25519 (RFC 8032).

Minimum Supported Rust Version

Rust 1.57 or newer.

In the future, we reserve the right to change MSRV (i.e. MSRV is out-of-scope for this crate's SemVer guarantees), however when we do it will be accompanied by a minor version bump.

License

Signatory is distributed under your choice of the terms of the MIT license and/or the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.8–1.9MB
~36K SLoC