view bin/pwgen @ 478:8956a404dba6

Added random password generator.
author edogawaconan <me@myconan.net>
date Mon, 26 Aug 2013 17:51:18 +0900
parents
children fea77cdcdb09
line wrap: on
line source

#!/usr/bin/env ruby

require 'securerandom'

5.times do |n|
  puts "#{n}: #{SecureRandom.urlsafe_base64(12)}"
end