bruteforce 0.1.7

This is a no_std-compatible brute force/string generation rust-nightly library
Documentation

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



[dependencies]

bruteforce = "0.1.6"



Example

use bruteforce::BruteForce;
let mut brute_forcer = BruteForce::new(bruteforce::UPPERCASE_CHARS);

const password: &'static str = "PASS";
for s in brute_forcer {
if s == password.to_string() {
       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 (bench_raw_next)
Intel® Core™ i3-2100 CPU @ 3.10GHz 90 26ns/iter (+/- 32)