#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

5 unstable releases

Uses new Rust 2021

0.4.2 Oct 29, 2022
0.4.1 Oct 12, 2022
0.4.0 Aug 15, 2022
0.3.0 May 21, 2022
0.1.0 Jul 13, 2018

#1093 in Cryptography

Download history 23/week @ 2022-08-12 8/week @ 2022-08-19 5/week @ 2022-08-26 7/week @ 2022-09-02 14/week @ 2022-09-09 19/week @ 2022-09-16 23/week @ 2022-09-23 46/week @ 2022-09-30 75/week @ 2022-10-07 70/week @ 2022-10-14 250/week @ 2022-10-21 80/week @ 2022-10-28 68/week @ 2022-11-04 30/week @ 2022-11-11 29/week @ 2022-11-18 24/week @ 2022-11-25

165 downloads per month
Used in ssh-key

Apache-2.0 OR MIT

39KB
683 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.57 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
~65K SLoC