More than 1 year has passed since last update.
posted at 2019-12-13
個人的に必要になるけど、よく忘れるのでメモ
1
ruby -e "puts('1' + (1..12).map { ('0'..'9').to_a.sample }.join)"
ruby -r securerandom -e 'puts SecureRandom.hex(20)'