mirror of
https://github.com/RustCrypto/signatures
synced 2026-06-21 13:45:42 +00:00
71 lines
5.7 KiB
Markdown
71 lines
5.7 KiB
Markdown
# RustCrypto: Signatures [![Project Chat][chat-image]][chat-link] [![dependency status][deps-image]][deps-link]
|
|
|
|
Support for [digital signatures][1], which provide authentication of data using
|
|
public-key cryptography.
|
|
|
|
All algorithms reside in the separate crates and implemented using traits from
|
|
the [`signature`](https://docs.rs/signature/) crate.
|
|
|
|
Crates are designed so they do not require the standard library (i.e. `no_std`)
|
|
and can be easily used for bare-metal or lightweight WebAssembly programming.
|
|
|
|
## Crates
|
|
|
|
| Name | Algorithm | Crates.io | Documentation | Build |
|
|
|-------------|-----------|-----------|---------------|-------|
|
|
| [`dsa`] | [Digital Signature Algorithm](https://en.wikipedia.org/wiki/Digital_Signature_Algorithm) | [](https://crates.io/crates/dsa) | [](https://docs.rs/dsa) | [](https://github.com/RustCrypto/signatures/actions/workflows/dsa.yml)
|
|
| [`ecdsa`] | [Elliptic Curve DSA](https://en.wikipedia.org/wiki/Elliptic_Curve_Digital_Signature_Algorithm) | [](https://crates.io/crates/ecdsa) | [](https://docs.rs/ecdsa) | [](https://github.com/RustCrypto/signatures/actions/workflows/ecdsa.yml) |
|
|
| [`ed25519`] | [EdDSA for Curve25519](https://en.wikipedia.org/wiki/EdDSA#Ed25519) | [](https://crates.io/crates/ed25519) | [](https://docs.rs/ed25519) | [](https://github.com/RustCrypto/signatures/actions/workflows/ed25519.yml)
|
|
| [`ed448`] | [EdDSA for Curve448](https://en.wikipedia.org/wiki/EdDSA#Ed448) | [](https://crates.io/crates/ed448) | [](https://docs.rs/ed448) | [](https://github.com/RustCrypto/signatures/actions/workflows/ed448.yml)
|
|
| [`lms`] | [Leighton-Micali Signature](https://datatracker.ietf.org/doc/html/rfc8554) | [](https://crates.io/crates/lms-signature) | [](https://docs.rs/ed25519) | [](https://github.com/RustCrypto/signatures/actions/workflows/lms.yml)
|
|
| [`ml-dsa`] | [Module Lattice DSA](https://csrc.nist.gov/pubs/fips/204/final) | [](https://crates.io/crates/ml-dsa) | [](https://docs.rs/ml-dsa) | [](https://github.com/RustCrypto/signatures/actions/workflows/ml-dsa.yml)
|
|
| [`rfc6979`] | [Deterministic (EC)DSA Signatures](https://datatracker.ietf.org/doc/html/rfc6979) | [](https://crates.io/crates/rfc6979) | [](https://docs.rs/rfc6979) | [](https://github.com/RustCrypto/signatures/actions/workflows/rfc6979.yml)
|
|
| [`slh-dsa`] | [Stateless Hash-Based Signature](https://csrc.nist.gov/pubs/fips/205/final) | [](https://crates.io/crates/slh-dsa) | [](https://docs.rs/slh-dsa) | [](https://github.com/RustCrypto/signatures/actions/workflows/slh-dsa.yml)
|
|
| [`xmss`] | [eXtended Merkle Signature Scheme](https://datatracker.ietf.org/doc/html/rfc8391) | [](https://crates.io/crates/xmss) | [](https://docs.rs/xmss) | [](https://github.com/RustCrypto/signatures/actions/workflows/xmss.yml)
|
|
|
|
NOTE: for RSA signatures see <https://github.com/RustCrypto/RSA>
|
|
|
|
## Usage
|
|
|
|
Crates functionality is expressed in terms of traits defined in the [`signature`][2]
|
|
crate.
|
|
|
|
## License
|
|
|
|
All crates licensed under either of
|
|
|
|
* [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0)
|
|
* [MIT license](https://opensource.org/licenses/MIT)
|
|
|
|
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.
|
|
|
|
[//]: # (badges)
|
|
|
|
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
|
|
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260048-signatures
|
|
[deps-image]: https://deps.rs/repo/github/RustCrypto/signatures/status.svg
|
|
[deps-link]: https://deps.rs/repo/github/RustCrypto/signatures
|
|
|
|
[//]: # (crates)
|
|
|
|
[`dsa`]: ./dsa
|
|
[`ecdsa`]: ./ecdsa
|
|
[`ed448`]: ./ed448
|
|
[`ed25519`]: ./ed25519
|
|
[`lms`]: ./lms
|
|
[`ml-dsa`]: ./ml-dsa
|
|
[`rfc6979`]: ./rfc6979
|
|
[`slh-dsa`]: ./slh-dsa
|
|
[`xmss`]: ./xmss
|
|
|
|
[//]: # (general links)
|
|
|
|
[1]: https://en.wikipedia.org/wiki/Digital_signature
|
|
[2]: https://docs.rs/signature
|