Skip to main content

random_token

Function random_token 

Source
pub fn random_token(prefix: &str) -> String
Expand description

Generate a prefixed 256-bit random token (the full secret returned to the caller once).