Message authentication code algorithms written in pure Rust
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
kade 03c7585f6e pact: repoint dbl to kade/crypto-utils
dbl implements Dbl for hybrid_array::Array. Taking it from crates.io pulled a
second hybrid-array alongside the den copy, so the impls cmac relies on were
written against an Array type no longer in the graph and every method failed to
resolve.
2026-10-04 12:27:36 +02:00
belt-mac fix: replace escaping path deps with den git deps 2026-10-04 12:06:37 +02:00
cbc-mac fix: replace escaping path deps with den git deps 2026-10-04 12:06:37 +02:00
cmac pact: repoint dbl to kade/crypto-utils 2026-10-04 12:27:36 +02:00
hmac fix(hmac): Add block-api feature to digest dependency 2026-06-05 14:25:44 +02:00
pmac pact: repoint dbl to kade/crypto-utils 2026-10-04 12:27:36 +02:00
retail-mac fix: replace escaping path deps with den git deps 2026-10-04 12:06:37 +02:00
.gitignore Update hex-literal to v0.3 (#105) 2022-02-10 09:25:46 +00:00
Cargo.toml Bump dbl to v0.5 (#209) 2025-09-02 20:19:07 -06:00
README.md chore: sync dependencies (monorepo) 2026-03-25 17:28:53 +01:00

RustCrypto: Message Authentication Codes

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

Supported Algorithms

Algorithm Crate Crates.io Documentation MSRV
[BelT MAC] [belt-mac] crates.io Documentation ![MSRV 1.85][msrv-1.85]
[CBC-MAC] [cbc-mac] crates.io Documentation ![MSRV 1.85][msrv-1.85]
[CMAC] [cmac] crates.io Documentation ![MSRV 1.85][msrv-1.85]
[HMAC] [hmac] crates.io Documentation ![MSRV 1.85][msrv-1.85]
[PMAC] [pmac] crates.io Documentation ![MSRV 1.85][msrv-1.85]
[Retail MAC] [retail-mac] crates.io Documentation ![MSRV 1.85][msrv-1.85]

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.