#message-authentication #digest #mac #hash #crypto

no-std hmac

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

15 unstable releases

0.13.0-pre.3 Feb 1, 2024
0.12.1 Feb 17, 2022
0.12.0 Dec 7, 2021
0.11.0 Apr 29, 2021
0.0.1 Oct 21, 2016

#907 in Cryptography

Download history 1225013/week @ 2024-01-31 1162846/week @ 2024-02-07 1153728/week @ 2024-02-14 1189660/week @ 2024-02-21 1227876/week @ 2024-02-28 1231990/week @ 2024-03-06 1229242/week @ 2024-03-13 1242215/week @ 2024-03-20 1174666/week @ 2024-03-27 1371823/week @ 2024-04-03 1272510/week @ 2024-04-10 1286180/week @ 2024-04-17 1296230/week @ 2024-04-24 1226603/week @ 2024-05-01 1221410/week @ 2024-05-08 1069332/week @ 2024-05-15

5,058,664 downloads per month
Used in 8,459 crates (838 directly)

MIT/Apache

43KB
259 lines

RustCrypto: HMAC

crate Docs Apache2/MIT licensed Rust Version Project Chat

Pure Rust implementation of the Hash-based Message Authentication Code (HMAC).

Documentation

Minimum Supported Rust Version

Rust 1.72 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

~315–475KB
~11K SLoC