Skip to main content

INPUT_HASH_CONTEXT

Constant INPUT_HASH_CONTEXT 

Source
pub const INPUT_HASH_CONTEXT: &str = "risk-rs 2026-09-30 input-hash v1";
Expand description

BLAKE3 key-derivation context for InputHasher. It separates input hashes from any other use of BLAKE3, and changes (v2, …) whenever the encoding below changes, so hashes from different encodings never match.