Created
August 4, 2015 07:07
-
-
Save skyriser/493b17d4e1906e9ab7d3 to your computer and use it in GitHub Desktop.
だいたい8桁の16進数をランダムで得るやつ
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
prng = Random.new(666) | |
10.times do |i| | |
puts prng.rand(99999999999).to_s(16).upcase! | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment