Sha256: 9c12e053fd68a8bfd8034bae43bdc6a37a88cc76a8a5cebc786693e81e12d87b
Contents?: true
Size: 292 Bytes
Versions: 4
Compression:
Stored size: 292 Bytes
Contents
# encoding: binary RSpec.describe RbNaCl::Random do it "produces random bytes" do expect(RbNaCl::Random.random_bytes(16).bytesize).to eq(16) end it "produces different random bytes" do expect(RbNaCl::Random.random_bytes(16)).not_to eq(RbNaCl::Random.random_bytes(16)) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rbnacl-3.4.0 | spec/rbnacl/random_spec.rb |
rbnacl-3.3.0 | spec/rbnacl/random_spec.rb |
rbnacl-3.2.0 | spec/rbnacl/random_spec.rb |
rbnacl-3.1.2 | spec/rbnacl/random_spec.rb |