Sha256: 4d31d826974f359d0173b4ba15a3bc3c93e16127c2950f45249ce81225056f8c
Contents?: true
Size: 362 Bytes
Versions: 3
Compression:
Stored size: 362 Bytes
Contents
require 'spec_helper' describe Digest::SipHash do it "no data given" do expect{ SipHash::digest }.to raise_error(ArgumentError) end it "seed string should 128 bit chars" do expect{ SipHash::digest("siphash", "\x00") }.to raise_error(ArgumentError) sip = SipHash.new expect{ sip.seed = "0x00" }.to raise_error(ArgumentError) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
digest-siphash-1.0.1 | spec/exception_spec.rb |
digest-siphash-1.0.0 | spec/exception_spec.rb |
digest-siphash-0.0.1 | spec/exception_spec.rb |