Sha256: b2f29df1f195df9b11f089ba6bc12db03d9108ff0d1d679206e60ca9a170d3e2
Contents?: true
Size: 350 Bytes
Versions: 39
Compression:
Stored size: 350 Bytes
Contents
# frozen_string_literal: true module Rails module Command class SecretCommand < Base # :nodoc: desc "secret", "Generate a cryptographically secure secret key (this is typically used to generate a secret for cookie sessions)." def perform require "securerandom" puts SecureRandom.hex(64) end end end end
Version data entries
39 entries across 39 versions & 5 rubygems