Crates.io | diceware |
lib.rs | diceware |
version | 0.5.10 |
source | src |
created_at | 2015-06-16 21:41:26.391334 |
updated_at | 2024-11-07 21:51:55.136726 |
description | A command line diceware, with or without dice. |
homepage | |
repository | https://codeberg.org/kakafarm/rusty-diceware |
max_upload_size | |
id | 2401 |
size | 154,505 |
Commandline Diceware (Wayback Machine mirror), with or without dice, written in rustlang.
Please use Gitlab for anything whatsoever. Github is just a mirror.
Inspired by the great passphrase generating solution Diceware (Wayback Machine mirror) invented by Arnold G. Reinhold (Wayback Machine mirror) and by Randall Monroe’s xkcd#936:
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)
The three wordlists mentioned in EFF's Diceware Guide:
The original Reinhold wordlist (Wayback Machine mirror).
The MiniLock (github)wordlist. (found in the 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 crate you can use for your own wicked deeds.
You can support me at https://buymeacoffee.com/kakafarm/ and/or tip on https://liberapay.com/yuvallanger/donate: