Expand description
Hashing primitives and checksum policy for download and inventory flows.
This module keeps the algorithm mapping, streaming hash wrapper, and checksum error vocabulary together so callers can validate installer and catalog payloads without re-implementing algorithm handling.
Structs§
Enums§
- Hash
Error - Errors produced while calculating or validating checksums.
- Hasher
- Streaming hash wrapper over the supported checksum algorithms.
Functions§
- hash_
algorithm - Detect the checksum algorithm referenced by a hash string.
- hash_
file - normalize_
hash - verify_
hash