#hmac-sha1 #sha-1 #hmac

no-std hmac-sha1-compact

A small, self-contained SHA1 and HMAC-SHA1 implementation

8 stable releases

1.1.6 Dec 17, 2025
1.1.5 Dec 9, 2024
1.1.4 Jun 14, 2023
1.1.3 Nov 29, 2022
0.1.0 Oct 18, 2021

#2086 in Cryptography

Download history 19611/week @ 2025-09-27 18261/week @ 2025-10-04 19163/week @ 2025-10-11 19699/week @ 2025-10-18 21235/week @ 2025-10-25 21179/week @ 2025-11-01 21229/week @ 2025-11-08 18131/week @ 2025-11-15 20316/week @ 2025-11-22 25362/week @ 2025-11-29 22801/week @ 2025-12-06 22435/week @ 2025-12-13 14018/week @ 2025-12-20 10142/week @ 2025-12-27 20740/week @ 2026-01-03 20441/week @ 2026-01-10

69,394 downloads per month
Used in 56 crates (3 directly)

ISC license

12KB
305 lines

A small, self-contained SHA1 and HMAC-SHA1 implementation (C) Frank Denis <fdenis [at] fastly [dot] com>


rust-hmac-sha1-compact

A small, self-contained SHA1 and HMAC-SHA1 implementation in Rust.

Optional features:

  • traits: enable support for the Digest trait from the digest crate.

Dependencies

~155KB