Created
September 27, 2011 01:58
-
-
Save rogerhub/1244115 to your computer and use it in GitHub Desktop.
Password generator for Clark w/ default salt built in
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 'digest/sha2' | |
adjectives = %w[red orange blue green purple big small wide thin gray long dark high low white smooth cool hot dusty sticky furry nice mean rich poor yellow sad happy ] | |
nouns = %w[book ruler kleenex glasses wand scissors stapler eraser drive car truck road basketball skateboard statue box square circle tree grass flower plant rose ] | |
500.times do | |
password = adjectives[rand(adjectives.size)] + nouns[rand(nouns.size)] + rand(10).to_s | |
puts password + "\t" + Digest::SHA512.hexdigest(password + "thisGETSridOFrainbowTABLES") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment