#random #passphrase-generator #passphrase #dictionary #custom

gen_passphrase

A secure, simple yet customizable passphrase generator. Use provided dictionaries or bring your own!

1 unstable release

0.1.1 Apr 9, 2023
0.1.0 Apr 9, 2023

#607 in Authentication

Download history 1/week @ 2025-02-05 17/week @ 2025-02-12 9/week @ 2025-03-05 1/week @ 2025-03-12 37/week @ 2025-03-26 86/week @ 2025-04-02 44/week @ 2025-04-09

167 downloads per month

MIT/Apache

160KB
9K SLoC

gen_passphrase

CI status crates.io version docs.rs

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.

  1. Provide a list of words in a file, one word per line.
  2. Run cargo run --example create_dictionary_from_file -- --help to get started.

Dependencies