Given a set of allowed ASCII chars, generate a set of passwords with given length. Use [rand](https://crates.io/crates/rand) or [ring](https://crates.io/crates/ring) (the ring will most likely be a better idea although the implementation will be more involved) crate cc https://github.com/rust-lang-nursery/rust-cookbook/issues/227 Thanks for the idea @Phaiax !