16 releases (8 stable)
new 1.1.6 | Dec 9, 2024 |
---|---|
1.1.5 | Jun 14, 2023 |
1.1.4 | Nov 29, 2022 |
1.1.2 | Jul 1, 2022 |
0.1.6 | Jun 23, 2020 |
#91 in Cryptography
395,511 downloads per month
Used in 56 crates
(17 directly)
27KB
710 lines
rust-hmac-sha512
A small, self-contained SHA512 and HMAC-SHA512 implementation in Rust.
Also includes SHA384 and HMAC-SHA384, that are just truncated versions of SHA512 with a different IV.
Optional features:
traits
: enable support for theDigest
trait from thedigest
crate.sha384
: includes support for SHA384 and HMAC-SHA384.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 SHA512 and HMAC-SHA512 implementation (C) Frank Denis <fdenis [at] fastly [dot] com>, public domain
Dependencies
~110KB