Skip to content

Collection of cryptography-related traits

Notifications You must be signed in to change notification settings

RustCrypto/traits

Repository files navigation

RustCrypto: Traits

Project Chat Apache2/MIT licensed dependency status

Collection of traits which describe functionality of cryptographic primitives.

Crates

Name Algorithm Crates.io Docs MSRV
aead Authenticated encryption crates.io Documentation MSRV 1.56
async‑signature Digital signature crates.io Documentation MSRV 1.56
cipher Block and stream cipher crates.io Documentation MSRV 1.56
crypto‑common Common cryptographic traits crates.io Documentation MSRV 1.56
digest Cryptographic hash function crates.io Documentation MSRV 1.57
elliptic‑curve Elliptic curve cryptography crates.io Documentation MSRV 1.65
kem Key encapsulation mechanism crates.io Documentation MSRV 1.60
password-hash Password hashing crates.io Documentation MSRV 1.60
signature Digital signature crates.io Documentation MSRV 1.56
universal‑hash Universal hash function crates.io Documentation MSRV 1.56

Additional Crates

Crate name Description Crates.io Docs MSRV
crypto Facade for trait crates crates.io Documentation MSRV 1.57

Minimum Supported Rust Version (MSRV) Policy

MSRV bumps are considered breaking changes and will be performed only with 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.