[−][src]Module git_features::hash
Hash functions and hash utilities
With the fast-sha1
feature, the Sha1
hash type will use a more elaborate implementation utilizing hardware support
in case it is available.
Otherwise, a minimal yet performant implementation is used instead for a decent trade-off between compile times and run-time performance.
Structs
Sha1 | A implementation of the Sha1 hash, which can be used once. |
Functions
bytes_of_file | Compute the hash of |
crc32 | Compute a CRC32 value of the given input |
crc32_update | Compute a CRC32 hash from the given |
Type Definitions
Sha1Digest | A 20 bytes digest produced by a |