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