#message-authentication #mac #omac

no-std cmac

Generic implementation of Cipher-based Message Authentication Code

15 releases (8 breaking)

Uses new Rust 2024

new 0.8.0-pre.3 Mar 7, 2025
0.8.0-pre.2 Aug 14, 2024
0.8.0-pre.1 Jul 27, 2024
0.7.2 Mar 14, 2023
0.0.0 Jul 22, 2017

#2518 in Cryptography

Download history 40849/week @ 2024-11-19 24246/week @ 2024-11-26 43373/week @ 2024-12-03 43729/week @ 2024-12-10 27289/week @ 2024-12-17 10648/week @ 2024-12-24 18819/week @ 2024-12-31 45253/week @ 2025-01-07 37842/week @ 2025-01-14 36065/week @ 2025-01-21 36034/week @ 2025-01-28 39227/week @ 2025-02-04 42877/week @ 2025-02-11 46264/week @ 2025-02-18 43208/week @ 2025-02-25 36433/week @ 2025-03-04

175,316 downloads per month
Used in 148 crates (26 directly)

MIT/Apache

47KB
193 lines

RustCrypto: CMAC

crate Docs Build Status Apache2/MIT licensed Rust Version Project Chat

Pure Rust implementation of the Cipher-based Message Authentication Code (CMAC).

Documentation

Minimum Supported Rust Version

Rust 1.81 or higher.

Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.

SemVer Policy

  • All on-by-default features of this library are covered by SemVer
  • MSRV is considered exempt from SemVer as noted above

License

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

~765KB
~19K SLoC