Skip to main content

content_digest_raw_bytes

Function content_digest_raw_bytes 

Source
pub fn content_digest_raw_bytes(
    mode: ImportInputMode,
    zip_bytes: &[u8],
) -> String
Expand description

SHA-256 content digest for file_path/zip_base64 input — both canonicalize to the same thing (raw zip bytes), differentiated only by the mode tag mixed into the hash domain (§3.0.5, round 7).