Sha256: 6b4f803fdd0ffdd9e09b4ad601c9c6a68857cba06023801750d416047d059431
Contents?: true
Size: 318 Bytes
Versions: 9
Compression:
Stored size: 318 Bytes
Contents
describe :sha512_length, :shared => true do it "returns the length of the digest" do cur_digest = Digest::SHA512.new cur_digest.send(@method).should == SHA512Constants::BlankDigest.size cur_digest << SHA512Constants::Contents cur_digest.send(@method).should == SHA512Constants::Digest.size end end
Version data entries
9 entries across 9 versions & 1 rubygems