annotate bin/pwgen @ 483:ee4ce7e78d2d

Update rules.
author edogawaconan <me@myconan.net>
date Sat, 12 Oct 2013 23:57:56 +0700
parents 8956a404dba6
children fea77cdcdb09
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
478
8956a404dba6 Added random password generator.
edogawaconan <me@myconan.net>
parents:
diff changeset
1 #!/usr/bin/env ruby
8956a404dba6 Added random password generator.
edogawaconan <me@myconan.net>
parents:
diff changeset
2
8956a404dba6 Added random password generator.
edogawaconan <me@myconan.net>
parents:
diff changeset
3 require 'securerandom'
8956a404dba6 Added random password generator.
edogawaconan <me@myconan.net>
parents:
diff changeset
4
8956a404dba6 Added random password generator.
edogawaconan <me@myconan.net>
parents:
diff changeset
5 5.times do |n|
8956a404dba6 Added random password generator.
edogawaconan <me@myconan.net>
parents:
diff changeset
6 puts "#{n}: #{SecureRandom.urlsafe_base64(12)}"
8956a404dba6 Added random password generator.
edogawaconan <me@myconan.net>
parents:
diff changeset
7 end