Created
March 29, 2009 16:16
-
-
Save stephencelis/87453 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "rubygems" | |
require "haddock" | |
Haddock::Password.generate # => "bowl9&bracky" | |
include Haddock # (Make things easier on our fingers...) | |
Password.generate(30) # => "Phlebotomus2473?nonconditioned" | |
Password.generate(8) # => "amy7@rax" | |
# To use a custom (newline-delimited) word list: | |
# | |
# Password.diction = "/path/to/words" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment