Expand description
Compute MD5, SHA256, and SHA512 hashes of data through the core::hash
API.
§Be warned that:
core::hash
implementations are not necessarily consistent cross-platform, for example, they may use native-endianness, or be dependent on implementation details of things likeOsString
.- MD5 should be considered cryptographically broken and unsuitable for cryptographic use.
Structs§
- Md5Hasher
- Glue between
core::hash
andmd5
. - Sha256
Hasher - Glue between
core::hash
andhmac_sha256
. - Sha512
Hasher - Glue between
core::hash
andhmac_sha512
.
Functions§
- md5_
hash - Compute an MD5 digest through the
core::hash
API. - sha256_
hash - Compute an SHA256 hash through the
core::hash
API. - sha512_
hash - Compute an SHA512 hash through the
core::hash
API.