Skip to content

Instantly share code, notes, and snippets.

@edavis10
Created February 2, 2011 16:55
Show Gist options
  • Save edavis10/807981 to your computer and use it in GitHub Desktop.
Save edavis10/807981 to your computer and use it in GitHub Desktop.
Simple script to create random passwords
#!/usr/bin/ruby
require 'rubygems'
require 'active_support'
(3..6).each do |b|
puts ActiveSupport::SecureRandom.hex(b)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment