#hash #digest

no-std hmac

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

17 releases

Uses new Rust 2024

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

#2233 in Cryptography

Download history 1661929/week @ 2024-12-05 1622623/week @ 2024-12-12 988855/week @ 2024-12-19 703622/week @ 2024-12-26 1371040/week @ 2025-01-02 1786908/week @ 2025-01-09 1638078/week @ 2025-01-16 1713419/week @ 2025-01-23 1813785/week @ 2025-01-30 1991890/week @ 2025-02-06 1885782/week @ 2025-02-13 2241167/week @ 2025-02-20 2103634/week @ 2025-02-27 2189766/week @ 2025-03-06 2529354/week @ 2025-03-13 2719185/week @ 2025-03-20

9,936,445 downloads per month
Used in 11,454 crates (1,065 directly)

MIT/Apache

45KB
258 lines

RustCrypto: HMAC

crate Docs Build Status 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.81 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

~630KB
~17K SLoC