<commit_before># diceware-gen
This program generates random passphrases based on
[EFF's long wordlist](https://www.eff.org/deeplinks/2016/07/new-wordlists-random-passphrases).

# usage
`cargo run {number of words up to 255}`<commit_msg>Update README to detail library usage<commit_after># diceware-gen
This program generates random passphrases based on
[EFF's long wordlist](https://www.eff.org/deeplinks/2016/07/new-wordlists-random-passphrases).

# usage
```rust
extern crate diceware_gen;
use diceware_gen::DicewareGen;

fn main() {
    let dice = DicewareGen::new().unwrap();
    for word in dice.gen(10) {
        println!("{}", word);
    }
}
```
{'fraction_non_alphanumeric': 0.13650306748466257, 'fraction_numerical': 0.02607361963190184, 'mean_word_length': 4.728070175438597, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7071143', 'n_tokens_mistral': 238, 'n_tokens_neox': 222, 'n_words': 55}