#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

#520 in Cryptography

Download history 1218304/week @ 2024-01-25 1203050/week @ 2024-02-01 1180931/week @ 2024-02-08 1138615/week @ 2024-02-15 1207267/week @ 2024-02-22 1236583/week @ 2024-02-29 1219390/week @ 2024-03-07 1231597/week @ 2024-03-14 1234372/week @ 2024-03-21 1221879/week @ 2024-03-28 1344353/week @ 2024-04-04 1273380/week @ 2024-04-11 1287215/week @ 2024-04-18 1256498/week @ 2024-04-25 1250502/week @ 2024-05-02 1011412/week @ 2024-05-09

5,040,268 downloads per month
Used in 8,414 crates (837 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