-
-
Save ffha/17325ae25ae4880f0444c5fcd9e7f1d0 to your computer and use it in GitHub Desktop.
Generate random string using ruby
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
| require 'securerandom' | |
| puts SecureRandom.alphanumeric(32) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment