18 releases (10 stable)
new 1.1.8 | Dec 9, 2024 |
---|---|
1.1.7 | Jun 14, 2023 |
1.1.6 | Nov 29, 2022 |
1.1.4 | Jul 1, 2022 |
0.1.1 | Apr 10, 2019 |
#78 in Cryptography
331,844 downloads per month
Used in 159 crates
(48 directly)
20KB
493 lines
rust-hmac-sha256
A small, self-contained SHA256, HMAC-SHA256, and HKDF-SHA256 implementation in Rust.
Optional features:
traits
: enable support for theDigest
trait from thedigest
crate.opt_size
: enable size optimizations. Based on benchmarks, the.text
section size is reduced by 75%, at the cost of approximately 16% performance.
lib.rs
:
A small, self-contained SHA256 and HMAC-SHA256 implementation (C) Frank Denis <fdenis [at] fastly [dot] com>, public domain
Dependencies
~105KB