Sha256: c60ac5ecb18aaaf0d80970061f28b96d612a7676e0e9c47b10612c1c909c8ba6

Contents?: true

Size: 394 Bytes

Versions: 29

Compression:

Stored size: 394 Bytes

Contents

# encoding: UTF-8
#
# Copyright (c) 2010-2015 GoodData Corporation. All rights reserved.
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

require 'securerandom'

module GoodData::Helpers
  module CryptoHelper
    class << self
      def generate_password
        SecureRandom.hex(16)
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
gooddata-0.6.30 spec/helpers/crypto_helper.rb
gooddata-0.6.29 spec/helpers/crypto_helper.rb
gooddata-0.6.28 spec/helpers/crypto_helper.rb
gooddata-0.6.27 spec/helpers/crypto_helper.rb
gooddata-0.6.26 spec/helpers/crypto_helper.rb
gooddata-0.6.25 spec/helpers/crypto_helper.rb
gooddata-0.6.24 spec/helpers/crypto_helper.rb
gooddata-0.6.23 spec/helpers/crypto_helper.rb
gooddata-0.6.22 spec/helpers/crypto_helper.rb