Skip to main content

hash_zstd_dict

Function hash_zstd_dict 

Source
pub fn hash_zstd_dict(dict_bytes: &[u8]) -> String
Expand description

Compute the canonical Codec-Zstd-Dict hash for dict_bytes.

Returns sha256:<lowercase hex> — same shape as the server-side header value and the hash field in tokenizer-map zstd_dictionaries[] entries.