Skip to content

Instantly share code, notes, and snippets.

@ffha

ffha/1.rb Secret

Created November 3, 2024 01:36
Show Gist options
  • Select an option

  • Save ffha/17325ae25ae4880f0444c5fcd9e7f1d0 to your computer and use it in GitHub Desktop.

Select an option

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