🔐 passphrase
passphrase
is a command-line tool for generating strong six-word
Diceware passphrases using
EFF's long wordlist.
In short, passphrases are generated by "throwing" five dice, joining the numbers into one, then looking up the word with the corresponding number in the wordlist, and repeating this process until six words are found. See more information about the technique here.
Instead of generating strings consisting of random numbers, letters, and
symbols, passphrase
produces passphrases such as whinny daffodil aerobics upheld bankable niece
which are easier to memorize while still extremely hard
to guess by brute force.
Under the hood, passphrase
uses
rio
as a prelude replacement and
Cryptonite for generating random
numbers.
Requirements
Usage
- Build the project:
stack build
. - Generate a passphrase:
stack exec -- passphrase
.
To run the test suite, run stack test
.
License
See LICENSE.