#signature #nist #crypto

no-std dsa

Pure Rust implementation of the Digital Signature Algorithm (DSA) as specified in FIPS 186-4 (Digital Signature Standard), providing RFC6979 deterministic signatures as well as support for added entropy

13 releases

0.6.3 Jan 28, 2024
0.6.2 Nov 16, 2023
0.6.1 Apr 5, 2023
0.6.0 Mar 1, 2023
0.1.0 Jul 13, 2018

#2363 in Cryptography

Download history 1435/week @ 2023-12-23 1955/week @ 2023-12-30 2441/week @ 2024-01-06 2634/week @ 2024-01-13 2481/week @ 2024-01-20 3092/week @ 2024-01-27 3084/week @ 2024-02-03 3054/week @ 2024-02-10 3694/week @ 2024-02-17 3247/week @ 2024-02-24 5505/week @ 2024-03-02 5890/week @ 2024-03-09 5655/week @ 2024-03-16 6356/week @ 2024-03-23 8514/week @ 2024-03-30 5896/week @ 2024-04-06

27,459 downloads per month
Used in 44 crates (7 directly)

Apache-2.0 OR MIT

47KB
831 lines

RustCrypto: DSA

crate Docs Build Status Apache2/MIT licensed MSRV Project Chat

Digital Signature Algorithm (DSA) as specified in FIPS 186-4 (Digital Signature Standard).

Documentation

About

This crate provides an implementation of DSA in pure Rust.

It utilises the signature crate to provide an interface for creating and verifying signatures.

⚠️ Security Warning

The DSA implementation contained in this crate has never been independently audited for security.

It may contain timing variabilities or other sidechannels which could potentially disclose secret information, including secret keys.

USE AT YOUR OWN RISK!

Minimum Supported Rust Version

This crate requires Rust 1.65 at a minimum.

We may change the MSRV in the future, but it 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

~3MB
~64K SLoC