Skip to main content

content_hash

Function content_hash 

Source
pub fn content_hash(bytes: &[u8]) -> String
Expand description

sha256 hex digest of the given bytes — used for document dedup.