#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

#670 in Cryptography

Download history 1218923/week @ 2024-01-23 1247896/week @ 2024-01-30 1163923/week @ 2024-02-06 1149324/week @ 2024-02-13 1181747/week @ 2024-02-20 1218962/week @ 2024-02-27 1233487/week @ 2024-03-05 1231529/week @ 2024-03-12 1241173/week @ 2024-03-19 1165125/week @ 2024-03-26 1377048/week @ 2024-04-02 1261704/week @ 2024-04-09 1284337/week @ 2024-04-16 1306188/week @ 2024-04-23 1221261/week @ 2024-04-30 998558/week @ 2024-05-07

5,043,961 downloads per month
Used in 8,393 crates (836 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