[][src]Function argonautica::utils::generate_random_base64_encoded_string_config

pub fn generate_random_base64_encoded_string_config(
    len: u32,
    config: Config
) -> Result<String, Error>

A utility function for generating a cryptographically-secure, random, base64-encoded string based on a custom base64 encoding (e.g. a url-safe encoding). A quick glance at this function's source should give you a good idea of what the function is doing.