Skip to main content

generate_key

Function generate_key 

Source
pub fn generate_key() -> String
Expand description

256 bits of OS entropy, base64url-nopad, mmk_-prefixed. mmk_ makes minted keys recognizable to secret scanners; it is cosmetic to validation, since hash_key covers the whole string rather than parsing the prefix.