1 unstable release
0.1.1 | Apr 9, 2023 |
---|---|
0.1.0 |
|
#559 in Authentication
45 downloads per month
160KB
9K
SLoC
gen_passphrase
A secure, simple yet customizable passphrase generator (in Rust). Use provided dictionaries or bring your own!
Built-in dictionaries
Some dictionaries are built-in, to make passphrase generation easy. They are hidden behind rust features, in order to keep the crate size small.
List of built-in dictionaries:
Dictionary | Rust Feature to enable |
---|---|
Eff Short Wordlist 2 | eff_short_2 |
Eff Short Wordlist 1 | eff_short_1 |
Eff Large Wordlist | eff_large |
Add new built-in dictionary
A small program to generate dictionaries is provided.
- Provide a list of words in a file, one word per line.
- Run
cargo run --example create_dictionary_from_file -- --help
to get started.