Skip to content

Instantly share code, notes, and snippets.

@jflopezfernandez
Created January 1, 2019 14:13
Show Gist options
  • Save jflopezfernandez/f7ccbd64e9a615e30a88c620665ada66 to your computer and use it in GitHub Desktop.
Save jflopezfernandez/f7ccbd64e9a615e30a88c620665ada66 to your computer and use it in GitHub Desktop.
Generate random string on the command line using ruby
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