Skip to content

Small Ruby script to generate random passwords in the vein of "correct horse battery staple" using the EFF's dice word list

License

Notifications You must be signed in to change notification settings

wainstead/make-password

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

make-password

Small Ruby script to generate random passwords in the vein of "correct horse battery staple" using the EFF's dice word list.

See EFF Dice-Generated Passphrases and the obligatory XKCD comic.

Usage: ruby make-password.rb [number of words] [number of passwords]

Example:

# Default: one password, five words long
$ ruby make-password.rb
frequent impulsive series step tapioca 

# Three words, six passwords
$ ruby make-password.rb 3 6
democracy jailbird pavement 
mace mankind prankish 
caucus composer providing 
bonus cofounder villain 
expansive twilight unskilled 
majesty overdrive raging 

# Two words, ten passwords
$ ruby make-password.rb 2 10
outpost unroll 
borax bouncing 
implosion tidings 
babbling outcome 
moonscape reaction 
driven obligate 
encrypt paycheck 
halt thieving 
parsnip video 
onset spotty 

Sometimes the suggested passwords can be quite evocative. Run the script many times to find something you like and is memorable.

About

Small Ruby script to generate random passwords in the vein of "correct horse battery staple" using the EFF's dice word list

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages