Skip to main content

hash_function_id

Function hash_function_id 

Source
pub fn hash_function_id(algo: HashAlgo) -> u8
Expand description

The single byte identifying algo in the cache-key prefix, matching the registry in CACHE-002.

The registry is append-only: a new value MUST receive a previously-unused id.