bruteforce

Crates.io Crates.io Codacy grade

GitHub Workflow Status GitHub issues

This is a no_std-compatible zero-dependency* brute force/string generation rust-nightly library.

* = zero-dependency if std is included

Add to your dependencies

```toml

[dependencies] bruteforce = "0.1.6"

```

Example

```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; } } ```

Contribution

If you want you can contribute. We need people, who write better documentation, optimize algorithms, implement more algorithms, finding bugs or submitting ideas.

Bench Results

| Procession Unit | Charset Length | Benchmark Time (benchrawnext) | |------------------------------------|----------------|---------------------------------| | Intel® Core™ i3-2100 CPU @ 3.10GHz | 90 | 26ns/iter (+/- 32) |