Sha256: 04166cdb3b8995c613e00a3fd6e083cfd82e27c54ba3da4f7b10be2a35874319

Contents?: true

Size: 152 Bytes

Versions: 22

Compression:

Stored size: 152 Bytes

Contents

require 'openssl'

module Slosilo
  module Random
    class << self
      def salt
        OpenSSL::Random::random_bytes 32
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
slosilo-0.2.2 lib/slosilo/random.rb
slosilo-0.1.2 lib/slosilo/random.rb