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