Skip to main content

hashed_bytes

Function hashed_bytes 

Source
pub fn hashed_bytes(text: &str) -> Result<Vec<u8>, Error>
Expand description

Return the exact byte sequence that the data hash covers: the file with the manifest block excluded. This is the seam shared by hash computation and by the c2pa-rs validation bridge.