Function random_token

Source
pub fn random_token() -> Result<String, String>
Expand description

Generate an opaque 256-bit secret from the operating system’s secure RNG. Failures are reported; there is no timestamp or deterministic fallback.