Generate XKCD 936 passwords
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sebastian Wiesner 4693e4f13a Remove badges 2 months ago
src Add github workflow for CI 5 months ago
.gitignore Initial commit downloading the wordlist 3 years ago
Cargo.lock Release next version 2 months ago
Cargo.toml Release next version 2 months ago
LICENSE Drop MIT license 2 years ago Remove badges 2 months ago


Generate XKCD 936 passwords:

Password Strength


$ cargo install xkpwgen


Invoke xkpwgen to generate five passwords:

$ xkpwgen
gains spate rush dine
stool added split skirt
venom foul slack rubs
leer merit ting slate
cribs flock stars help

Use -l to change the length of passwords, and -n to change the number of passwords:

$ xkpwgen -l 10 -n 2
goals tray guy mill mint cores focus kudos mares beady
ins hark sodas omit glove goofs spurt mash gait beer

See xkpwgen --help for more information.


xkpwgen uses the pokerware wordlists by Christopher Wellons. His blog post explains in detail how he collected these wordlists. In essence the default “formal” wordlist comes from formal publications whereas the alternative “slang” wordlist collects popular words from Reddit comments.


Wordlist copyright (C) 2017 Christopher Wellons, released to public domain.

xkpwgen copyright (C) 2017–2019 Sebastian Wiesner

xkpwgen is licensed under Apache License, Version 2.0.