#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

#733 in Cryptography

Download history 1056497/week @ 2024-01-02 1123007/week @ 2024-01-09 1197197/week @ 2024-01-16 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 1050473/week @ 2024-04-16

5,088,354 downloads per month
Used in 8,237 crates (824 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