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-0.6.7 lib/railman/secret.rb
railman-0.6.6 lib/railman/secret.rb
railman-0.6.5 lib/railman/secret.rb
railman-0.6.4 lib/railman/secret.rb
railman-0.6.3 lib/railman/secret.rb
railman-0.6.2 lib/railman/secret.rb
railman-0.6.1 lib/railman/secret.rb
railman-0.6.0 lib/railman/secret.rb
railman-0.5.2 lib/railman/secret.rb
railman-0.5.1 lib/railman/secret.rb
railman-0.5.0 lib/railman/secret.rb
railman-0.4.0 lib/railman/secret.rb
railman-0.3.7 lib/railman/secret.rb
railman-0.3.6 lib/railman/secret.rb
railman-0.3.5 lib/railman/secret.rb
railman-0.3.4 lib/railman/secret.rb
railman-0.3.3 lib/railman/secret.rb
railman-0.3.2 lib/railman/secret.rb
railman-0.3.1 lib/railman/secret.rb
railman-0.3.0 lib/railman/secret.rb