Skip to main contentModule integrity
Source - IntegrityError
- Errors that can occur during integrity verification.
- 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.