Sha256: 8877217ad4c2865c8ef69ef00af765efe5b929f4f43fc43997511e2043e6c8db

Contents?: true

Size: 269 Bytes

Versions: 9

Compression:

Stored size: 269 Bytes

Contents

require File.expand_path('../shared/constants', __FILE__)

describe "Digest::SHA256#digest_length" do

  it "returns the length of computed digests" do
    cur_digest = Digest::SHA256.new
    cur_digest.digest_length.should == SHA256Constants::DigestLength
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rubysl-digest-2.1 spec/sha256/digest_length_spec.rb
rubysl-digest-1.2.0 spec/sha256/digest_length_spec.rb
rubysl-digest-1.1.0 spec/sha256/digest_length_spec.rb
rubysl-digest-2.0.8 spec/sha256/digest_length_spec.rb
rubysl-digest-2.0.7 spec/sha256/digest_length_spec.rb
rubysl-digest-1.0.1 spec/sha256/digest_length_spec.rb
rubysl-digest-2.0.3 spec/sha256/digest_length_spec.rb
rubysl-digest-1.0.0 spec/sha256/digest_length_spec.rb
rubysl-digest-2.0.2 spec/sha256/digest_length_spec.rb