Skip to main content

generate_key

Function generate_key 

Source
pub fn generate_key(person: &str) -> Result<String>
Expand description

Generates a new bearer key: gk-<person-slug>-<48 hex chars>.

ยงErrors

Fails only if the OS CSPRNG is unavailable.