Sha256: f20298fc358c0bb05a5627f86fd764f99c1b028ec49acdef409e1f4fc989e67e
Contents?: true
Size: 395 Bytes
Versions: 9
Compression:
Stored size: 395 Bytes
Contents
require File.expand_path('../shared/constants', __FILE__) describe "Digest::SHA512#reset" do it "returns digest state to initial conditions" do cur_digest = Digest::SHA512.new cur_digest.update SHA512Constants::Contents cur_digest.digest().should_not == SHA512Constants::BlankDigest cur_digest.reset cur_digest.digest().should == SHA512Constants::BlankDigest end end
Version data entries
9 entries across 9 versions & 1 rubygems