Dictionary-based password generator


Version on this page:
LTS Haskell 8.24:
Stackage Nightly 2017-02-11:
Latest on Hackage:

See all snapshots wordpass appears in

BSD-3-Clause licensed by Michal J. Gajda
Maintained by mjgajda@gmail.com
This version can be pinned in stack with:wordpass-,3064

Module documentation for


Dictionary-based password generator.

Build Status Hackage

Script reads dict word lists and generates word-based passwords. Uses dictionaries from /usr/share/dict by default. Inspired by xkcd comic.

Program also prints how many words have been read, and indicates estimated password space size in bits.

Using just four words from default English dictionary of ~50k words will give approximately 90 bits of entropy. Lucky speakers of languages with rich inflection like Polish (over 3 million word variants) can easily up this to over 110 bits of entropy.