pars-core 0.2.4

Pars(a zx2c4-pass compatible passwords manager) core library
Documentation
1
2
3
4
5
use rand::{self, distr, Rng};

pub(crate) fn rand_alphabet_string(length: usize) -> String {
    rand::rng().sample_iter(&distr::Alphanumeric).take(length).map(char::from).collect()
}