Creating all combinations of LEN with CHARSET
Go to file
2024-10-28 10:30:22 -06:00
.vscode init v2 2024-03-04 22:23:23 -07:00
src cleaning...\ncleaning out my work computer 2024-10-28 10:30:22 -06:00
.gitignore init v2 2024-03-04 22:23:23 -07:00
Cargo.lock init 2024-03-04 22:23:05 -07:00
Cargo.toml init 2024-03-04 22:23:05 -07:00
LICENSE Initial commit 2024-03-05 05:20:02 +00:00
README.md readme 2024-03-04 22:30:13 -07:00

All Strings

A short bit of code to create every possible string combination of given length, with a given charset. The program outputs the combinations to stdout and periodic statistics to stderr.

This project uses quite a bit of unsafe blocks to acheive the equivilent of java's public static in the form of static mut. I know some people don't like unsafe rust code, if you are one of those people... too bad.

Since this code is just single-threaded I can only get about 5M permutations a second when not IO limited. (Tested by redirecting stduout to /dev/null). Later on I might make this multi-threaded to speed up the calculation speed.