Skip to main content

random

Function random 

Source
pub fn random(length: usize) -> String
Expand description

Generate a cryptographically secure random string of given length. Uses URL-safe base64 encoding for the result.