hash_cache_content

Function hash_cache_content 

Source
pub fn hash_cache_content(
    tenant_id: u64,
    context_hash: u64,
    embedding: &[u8],
    payload: &[u8],
) -> [u8; 32]
Expand description

Hashes cache content to a 32-byte digest (tenant + context + embedding + payload).