Expand description
rsgen
is a tiny library to generate random characters string.
§Usage
use rsgen::{gen_random_string, OutputCharsType};
let output_chars_type = OutputCharsType::LatinAlphabetAndNumeric {
use_upper_case: true,
use_lower_case: true,
};
let _random_string = gen_random_string(32, output_chars_type);
Enums§
- Output
Chars Type - Configuration for output characters.
Functions§
- gen_
random_ string - Generates a random characters string.
- gen_
random_ string_ with_ rng - Generates a random characters string specifying RNG.