Sha256: c66bdc600d5315a16df6270e261a21bc708d304c1c321999ca2c26269efa38cb

Contents?: true

Size: 128 Bytes

Versions: 44

Compression:

Stored size: 128 Bytes

Contents

require 'securerandom'

module Railman
  module Secret
    def self.generate_secret
      SecureRandom.hex(64)
    end
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
railman-1.0.6 lib/railman/secret.rb
railman-1.0.5 lib/railman/secret.rb
railman-1.0.4 lib/railman/secret.rb
railman-1.0.3 lib/railman/secret.rb
railman-1.0.2 lib/railman/secret.rb
railman-1.0.1 lib/railman/secret.rb
railman-1.0.0 lib/railman/secret.rb
railman-0.6.20 lib/railman/secret.rb
railman-0.6.19 lib/railman/secret.rb
railman-0.6.18 lib/railman/secret.rb
railman-0.6.17 lib/railman/secret.rb
railman-0.6.16 lib/railman/secret.rb
railman-0.6.15 lib/railman/secret.rb
railman-0.6.14 lib/railman/secret.rb
railman-0.6.13 lib/railman/secret.rb
railman-0.6.12 lib/railman/secret.rb
railman-0.6.11 lib/railman/secret.rb
railman-0.6.10 lib/railman/secret.rb
railman-0.6.9 lib/railman/secret.rb
railman-0.6.8 lib/railman/secret.rb