4 releases (2 breaking)
0.3.0 | Jan 22, 2023 |
---|---|
0.2.1 | Jan 6, 2023 |
0.2.0 | Jan 6, 2023 |
0.1.0 | Jan 5, 2023 |
#29 in #brute-force
13KB
225 lines
DicGen
Generate all possible combinations for given symbols in given interval.
Install with Cargo
cargo install dicgen
Usage
An example generating mobile phone numbers (9 digits starting with 6, 7 or 8):
dicgen --alphabet 0123456789 --init 600000000 --end 899999999 --file phone_numbers.txt
Generated file phone_numbers.txt
will contain:
600000000
600000001
[...]
899999998
899999999
Usage as Rust dependency
Add to your Cargo.toml
and see examples and reference in documentation.
License
The Unlicense. See LICENSE for details or visit unlicense.org web.
Dependencies
~4–11MB
~117K SLoC