Created
January 1, 2019 14:13
-
-
Save jflopezfernandez/f7ccbd64e9a615e30a88c620665ada66 to your computer and use it in GitHub Desktop.
Generate random string on the command line 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
ruby -rsecurerandom -e 'puts SecureRandom.hex(20)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment