Module hash

Module hash 

Source
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§

HashWriter 🔒

Enums§

HashError
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

Type Aliases§

Result