Skip to main content

no_hash_salt

Function no_hash_salt 

Source
pub fn no_hash_salt() -> Vc<RcStr>
Expand description

Returns an empty salt Vc<RcStr> meaning “no salt applied to this hash”.

Use this instead of Vc::cell(RcStr::default()) at call sites that don’t control the hash salt — e.g. internal hashes not exposed to the user as filenames.