#message-authentication #digest #hash

no-std hmac

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

17 releases

new 0.13.0-pre.5 Mar 7, 2025
0.13.0-pre.4 Jul 26, 2024
0.13.0-pre.3 Feb 1, 2024
0.12.1 Feb 17, 2022
0.0.1 Oct 21, 2016

#959 in Cryptography

Download history 1575626/week @ 2024-11-20 1406621/week @ 2024-11-27 1654837/week @ 2024-12-04 1650492/week @ 2024-12-11 1213647/week @ 2024-12-18 695894/week @ 2024-12-25 1168417/week @ 2025-01-01 1729888/week @ 2025-01-08 1672239/week @ 2025-01-15 1694296/week @ 2025-01-22 1776488/week @ 2025-01-29 1969744/week @ 2025-02-05 1895918/week @ 2025-02-12 2221462/week @ 2025-02-19 2098896/week @ 2025-02-26 1763911/week @ 2025-03-05

8,350,292 downloads per month
Used in 10,621 crates (995 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

~540–760KB
~19K SLoC