[−][src]Module tectonic_io_base::digest
Helpers to tidy up the computation of digests in various places.
Structs
BadLengthError | Errors that are generic to Tectonic's framework, but not capturable as IoErrors. |
DigestComputer | The SHA-256 hash algorithm with the SHA-256 initial hash value. |
DigestData | A wrapper for a fixed-size byte array representing a digest computed with the default implementation. |
Constants
DIGEST_LEN | The number of bytes in the digest produced by the default implementation. |
DIGEST_NAME | The name of the digest algorithm used in the default implementation. |
Traits
Digest | The |
Functions
bytes_to_hex | Convert a byte slice to its hexadecimal textual representation. Letters will be in lower case. |
create | Create a new |
hex_to_bytes | Convert a hexadecimal string to bytes. |