hmac-sha512

Crates.iohmac-sha512
lib.rshmac-sha512
version1.1.5
sourcesrc
created_at2020-05-01 09:47:22.163746
updated_at2023-06-14 22:34:25.386023
descriptionA small, self-contained SHA512, HMAC-SHA512, SHA384 and HMAC-SHA384 implementation
homepagehttps://github.com/jedisct1/rust-hmac-sha512
repositoryhttps://github.com/jedisct1/rust-hmac-sha512
max_upload_size
id236087
size29,221
Frank Denis (jedisct1)

documentation

README

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 the Digest trait from the digest 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.
Commit count: 27

cargo fmt