Macro mini_functions::hash::random_string
source · macro_rules! random_string { ($len:expr) => { ... }; }
Expand description
This macro generates a random string of the given length. The string consists of alphanumeric characters (both upper and lower case).
Example
extern crate hsh;
use hsh::{ random_string };
let random = random_string!(10);