This is the fastest string generation library for brute-forcing or similar. (Supports no-std)
[dependencies]
bruteforce = "0.2.0"
use bruteforce::BruteForce;
let mut brute_forcer = BruteForce::new(charset!("ABCDEFGHIJKLMNOPQRSTUVWXYZ"));
const password: &'static str = "PASS";
for s in brute_forcer {
if s == password.to_string() {
println!("Password cracked");
break;
}
}
If you want you can contribute. We need people, who write better documentation, optimize algorithms, implement more algorithms, finding bugs or submitting ideas.