Created
July 14, 2015 05:38
-
-
Save kaityo256/20256aefb6cdbda186a6 to your computer and use it in GitHub Desktop.
mkpasswd の使う文字種を列挙
This file contains hidden or 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
| h = Hash.new | |
| 1000.times{ | |
| `mkpasswd`.split(//).each{|s| | |
| h[s] = true | |
| } | |
| } | |
| h.sort.each{|key,value| | |
| print key | |
| } | |
| puts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment