XKCD password generator https://crates.io/crates/xkpwgen
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.
Basti ff01d6877d
Run git describe before checking
4 months ago
scripts Run git describe before checking 4 months ago
src Update copyright 4 months ago
.gitignore Initial commit downloading the wordlist 5 years ago
Cargo.lock Release 1.0.0 4 months ago
Cargo.toml Release 1.0.0 4 months ago
LICENSE Drop MIT license 5 years ago
README.md Remove badges 2 years ago
release.toml Configure cargo release 4 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.