blob: 0c88288bcfd72b52123dc2e06c2c1be640da318c (
plain)
1
2
3
4
5
6
7
8
|
describe :sha384_length, shared: true do
it "returns the length of the digest" do
cur_digest = Digest::SHA384.new
cur_digest.send(@method).should == SHA384Constants::BlankDigest.size
cur_digest << SHA384Constants::Contents
cur_digest.send(@method).should == SHA384Constants::Digest.size
end
end
|