#signature #private-key #curve25519 #signing #ecc #codec

no-std ed25519

Edwards Digital Signature Algorithm (EdDSA) over Curve25519 (as specified in RFC 8032) support library providing signature type definitions and PKCS#8 private key decoding/encoding support

20 releases (stable)

2.3.0-pre.0 Jul 28, 2024
2.2.3 Oct 15, 2023
2.2.2 Aug 13, 2023
2.2.1 Apr 3, 2023
0.0.0 Oct 6, 2016

#2074 in Cryptography

Download history 402549/week @ 2024-08-04 433366/week @ 2024-08-11 409796/week @ 2024-08-18 408350/week @ 2024-08-25 409638/week @ 2024-09-01 408421/week @ 2024-09-08 433900/week @ 2024-09-15 542992/week @ 2024-09-22 717001/week @ 2024-09-29 1095193/week @ 2024-10-06 953873/week @ 2024-10-13 768616/week @ 2024-10-20 481830/week @ 2024-10-27 486847/week @ 2024-11-03 487794/week @ 2024-11-10 527624/week @ 2024-11-17

2,036,333 downloads per month
Used in 3,690 crates (59 directly)

Apache-2.0 OR MIT

37KB
494 lines

RustCrypto: Ed25519

crate Docs Build Status Apache2/MIT licensed Rust Version Project Chat

Edwards Digital Signature Algorithm (EdDSA) over Curve25519 as specified in RFC 8032.

Documentation

About

This crate doesn't contain an implementation of Ed25519, but instead contains an ed25519::Signature type which other crates can use in conjunction with the signature::Signer and signature::Verifier traits.

These traits allow crates which produce and consume Ed25519 signatures to be written abstractly in such a way that different signer/verifier providers can be plugged in, enabling support for using different Ed25519 implementations, including HSMs or Cloud KMS services.

Minimum Supported Rust Version

This crate requires Rust 1.72 at a minimum.

Our policy is to allow MSRV to be raised in future released without that qualifing as a SemVer-breaking change, but it will be accompanied by a minor version bump, ensuring if you lock to a minor version MSRV will be preserved for the default feature set.

SemVer Policy

  • All on-by-default features of this library are covered by SemVer
  • MSRV is considered exempt from SemVer as noted above
  • The pkcs8 module is exempted as it uses a pre-1.0 dependency, however, breaking changes to this module will be accompanied by a minor version bump.

License

All crates licensed under either of

at your option.

Contribution

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

Dependencies

~29–470KB