# rusty-diceware - a password generator using wordlists
Commandline [Diceware][diceware] ([Wayback Machine mirror][diceware-wayback]), with or without dice, written in [rustlang][rustlang].
Please use [Gitlab][gitlab-mirror] for anything whatsoever. Github is just a mirror.
[CHANGELOG here](/CHANGELOG.md).
Inspired by the great passphrase generating solution [Diceware][diceware] ([Wayback Machine mirror][diceware-wayback]) invented by [Arnold G. Reinhold][arnold] ([Wayback Machine mirror][arnold-wayback]) and by Randall Monroe’s [xkcd#936][xkcd-936]:
![“Hidden” alt text jokes are a pain in the ass.](/bin/imgs.xkcd.com/comics/password_strength.png)
## Usage:
```
Usage: diceware [options]
Options:
-h, --help This help message.
-e, --entropy Display number of entropy bits.
-r, --dicerolls Provide results of physical dice rolls. Word per line,
same digit order as in the files, digits between and
including 1 and 6.
-n, --nword NWORD Number of words in a passphrase.
-d, --delimiter DELIM
The delimiter character used to separate the words.
-f, --wordlist-file FILE
Path to a wordlist file.
-l, --wordlist WORDLIST
Wordlist to use. (efflong (default), effshort1,
effshort2, minilock, reinhold, or beale)
```
## Featuring:
* The three wordlists mentioned in EFF's [Diceware Guide][eff-diceware-guide]:
* [EFF Long Wordlist][eff-long-wordlist].
* [EFF Short Wordlist #1][eff-short-wordlist-1].
* [EFF Short Wordlist #2][eff-short-wordlist-2-0].
* The original [Reinhold wordlist][reinhold-wordlist-asc] ([Wayback Machine mirror][reinhold-wordlist-asc-wayback]).
* The [Beale wordlist][beale-wordlist-asc] ([Wayback Machine mirror][beale-wordlist-asc-wayback]).
* The [MiniLock][minilock] ([github][minilock-github])wordlist. (found in the [phrase.js][minilock-phrase-js] file)
* The all new `--wordlist-file` command line option which loads and uses your very own newline delimited wordlist file. Inquire within!
* Physical dice roll! You can (don't use echo, it will show up in `ps` and show your rolls to other users):
```
$ cat | diceware -l efflong -r
111111
111112
^D
abacus abdomen
```
* Wordlists live in their own [diceware_wordlists][diceware_wordlists] crate you can use for your own wicked deeds.
## Mirrors:
* [Codeberg][codeberg-mirror] is the main repository.
* [Gitlab][gitlab-mirror] is just a mirror.
* [Github][github-mirror] is just a mirror.
* [Kakafarm][kakafarm-mirror] is just a mirror.
## Supprt my extremely important and 110% not trivial work 💰:
You can support me at and/or tip on :
[codeberg-mirror]:
[kakafarm-mirror]:
[gitlab-mirror]:
[github-mirror]:
[diceware_wordlists]:
[eff-diceware-guide]:
[eff-long-wordlist]:
[eff-short-wordlist-1]:
[eff-short-wordlist-2-0]:
[arnold]:
[diceware]:
[arnold-wayback]:
[diceware-wayback]:
[beale-wordlist-asc]:
[reinhold-wordlist-asc]:
[minilock-phrase-js]:
[beale-wordlist-asc-wayback]:
[reinhold-wordlist-asc-wayback]:
[rustlang]:
[xkcd-936]:
[minilock]:
[minilock-github]: