Skip to content

Instantly share code, notes, and snippets.

@ryonext
Created September 26, 2014 06:57
Show Gist options
  • Save ryonext/f0538f7bb6002d57f732 to your computer and use it in GitHub Desktop.
Save ryonext/f0538f7bb6002d57f732 to your computer and use it in GitHub Desktop.
ランダム文字列
# uuid
SecureRandom.uuid
# 半角英数16文字
SecureRandom.hex(8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment