Module cryptography

Source
Expand description

Cryptography functionality to aid with hashing and comparison

Structs§

Sha256
Output of sha256 hashing
Sha256Hasher
A hasher for creating Sha256 values

Enums§

ParseSha256Error

Constants§

SHA256_BYTES
Number of bytes in the SHA-256 output

Traits§

Sha256Hashable
Types that can be hashed by a hasher

Functions§

hash_file_sha256
Convenience method for hashing a file into a Sha256 value
hash_sha256
Convenience method for hashing a value into a Sha256 value