/// Generate a password of length `len` from a character list.
Generate a password of length `len` from a character list.
Generate a password of length ` len ` from a character list .
pub fn password(charlist: &[char], len: u128) -> String {
    let mut password = String::new();
    for _ in 0..len {
        let character = choose_from(charlist);
        password.push(character);
    }
    password
}
pub fn password ( charlist : & [ char ] , len : u128 ) -> String { let mut password = String :: new ( ) ; for _ in 0 .. len { let character = choose_from ( charlist ) ; password . push ( character ) ; } password }
Generate a password of length `len` from a character list.
Generate a password of length ` len ` from a character list .
charlist
&[char]
len
u128