Skip to content

Instantly share code, notes, and snippets.

@schaternik
Last active February 6, 2019 13:48
Show Gist options
  • Save schaternik/c7acbd9f96f27188bed5fa161e7cfad0 to your computer and use it in GitHub Desktop.
Save schaternik/c7acbd9f96f27188bed5fa161e7cfad0 to your computer and use it in GitHub Desktop.
Generate secreta key base like rails does it in IRB
require 'securerandom'
puts SecureRandom.hex(64)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment