majjoha / passphrase

Strong Diceware passphrase generator.

Home Page:https://github.com/majjoha/passphrase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🔐 passphrase

CI

XKCD

passphrase is a command-line tool for generating strong 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 N words (six, by default) 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 [WORDLIST] [-n LENGTH].

To run the test suite, run stack test.

License

See LICENSE.

About

Strong Diceware passphrase generator.

https://github.com/majjoha/passphrase

License:ISC License


Languages

Language:Haskell 100.0%