Generic implementation of Hash-based Message Authentication Code (HMAC)


Keywords
crypto, mac, digest, hmac
Licenses
MIT/Apache-2.0

Documentation

RustCrypto: Message Authentication Codes

Project Chat dependency status Apache2/MIT licensed

Collection of Message Authentication Code (MAC) algorithms written in pure Rust.

Supported Algorithms

Algorithm Crate Crates.io Documentation MSRV
BelT MAC belt-mac crates.io Documentation MSRV 1.57
CBC-MAC cbc-mac crates.io Documentation MSRV 1.56
CMAC cmac crates.io Documentation MSRV 1.56
HMAC hmac crates.io Documentation MSRV 1.41
PMAC pmac crates.io Documentation MSRV 1.56

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.