Skip to main content

code_lookup_candidates

Function code_lookup_candidates 

Source
pub fn code_lookup_candidates<K: KeyProvider>(
    hasher: &SecretHasher<K>,
    normalized: &str,
) -> Vec<(LookupKey, KeyVersion)>
Expand description

Derive all candidate lookup keys for a normalized code value.

v0.1 produces only the active-key candidate. Key-rotation multi-candidate support is introduced in RFC-031.