Skip to main content

compute_data_hash

Function compute_data_hash 

Source
pub fn compute_data_hash(
    html: &[u8],
    alg: Algorithm,
    hasher: &impl Hasher,
) -> Result<DataHash, Error>
Expand description

Compute the hard binding for html: locate the manifest element, exclude it if it is inline, and hash what the exclusions leave.