This is a no_std-compatible zero-dependency* brute force/string generation rust-nightly library.
* = zero-dependency if std is included
```toml
[dependencies] bruteforce = "0.1.6"
```
```rust use bruteforce::BruteForce; let mut bruteforcer = BruteForce::new(bruteforce::UPPERCASECHARS);
const password: &'static str = "PASS"; for s in bruteforcer { if s == password.tostring() { 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.
| Procession Unit | Charset Length | Benchmark Time (benchrawnext) | |------------------------------------|----------------|---------------------------------| | Intel® Core™ i3-2100 CPU @ 3.10GHz | 90 | 26ns/iter (+/- 32) |