Skip to main content

Module integrity

Module integrity 

Source

Enums§

IntegrityError
Errors that can occur during integrity verification.

Functions§

hash
Compute a SHA-256 hash of the given bytes and return it in the sha256:hex format used throughout the .murk file.
verify
Verify that data matches an expected hash string (e.g. “sha256:abc123…”). Returns Ok(()) if valid, Err with a message if not.