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-3.0.2.pre.224 lib/slosilo/random.rb
slosilo-3.0.2.pre.5 lib/slosilo/random.rb
slosilo-3.0.2.pre.44 lib/slosilo/random.rb
slosilo-3.0.2.pre.42 lib/slosilo/random.rb
slosilo-3.0.2.pre.2 lib/slosilo/random.rb
slosilo-3.0.2.pre.35 lib/slosilo/random.rb
slosilo-0.0.0 lib/slosilo/random.rb
slosilo-3.0.1 lib/slosilo/random.rb
slosilo-3.0.0 lib/slosilo/random.rb
slosilo-2.2.2 lib/slosilo/random.rb
slosilo-2.2.1 lib/slosilo/random.rb
slosilo-2.1.1 lib/slosilo/random.rb
slosilo-2.0.1 lib/slosilo/random.rb
slosilo-2.0.0 lib/slosilo/random.rb
slosilo-1.1.0 lib/slosilo/random.rb
slosilo-1.0.0 lib/slosilo/random.rb
slosilo-0.4.1 lib/slosilo/random.rb
slosilo-0.4.0 lib/slosilo/random.rb
slosilo-0.2.4 lib/slosilo/random.rb
slosilo-0.2.3 lib/slosilo/random.rb