pub fn content_hash(bytes: &[u8]) -> Result<[u8; 32]>Expand description
Compute the Blake3-256 content hash of a validated image.
The hash covers the whole canonical payload with the stored hash field zeroed, so it changes when any canonical byte changes and is stable across runs and processes.