Sha256: 8d7a0ac748c22c21f0ca5273c393d74a779ac98cde304fee0d34f2f389367393
Contents?: true
Size: 373 Bytes
Versions: 9
Compression:
Stored size: 373 Bytes
Contents
require File.expand_path('../shared/constants', __FILE__) describe "Digest::SHA512#hexdigest!" do it "returns a hexdigest and resets the state" do cur_digest = Digest::SHA512.new cur_digest << SHA512Constants::Contents cur_digest.hexdigest!.should == SHA512Constants::Hexdigest cur_digest.hexdigest.should == SHA512Constants::BlankHexdigest end end
Version data entries
9 entries across 9 versions & 1 rubygems