#crypto #nist #signature

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

12 releases

0.6.2 Nov 16, 2023
0.6.1 Apr 5, 2023
0.6.0 Mar 1, 2023
0.5.0-pre.1 Dec 29, 2022
0.1.0 Jul 13, 2018

#7 in #signatures

Download history 1827/week @ 2023-08-06 1592/week @ 2023-08-13 1718/week @ 2023-08-20 1843/week @ 2023-08-27 1812/week @ 2023-09-03 2164/week @ 2023-09-10 2486/week @ 2023-09-17 2175/week @ 2023-09-24 2130/week @ 2023-10-01 2029/week @ 2023-10-08 2210/week @ 2023-10-15 2542/week @ 2023-10-22 2338/week @ 2023-10-29 2448/week @ 2023-11-05 2684/week @ 2023-11-12 2914/week @ 2023-11-19

10,612 downloads per month
Used in 25 crates (5 directly)

Apache-2.0 OR MIT

757 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).



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.


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.


All crates licensed under either of

at your option.


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.


~66K SLoC