Skip to main content

content_digest

Function content_digest 

Source
pub fn content_digest(bytes: &[u8]) -> u64
Expand description

A content digest for an asset’s bytes, in the same 60-bit identity space as asset subjects — the anti-tamper / dedup anchor a caller stores as AssetRef::digest. (Public wrapper so client-core ingest can compute it.)