Sha256: 7345485a73de09c61451e71e9400a76cd5643b3864e440904c6062fb08ef5f8f

Contents?: true

Size: 262 Bytes

Versions: 9

Compression:

Stored size: 262 Bytes

Contents

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

describe "Digest::SHA512#block_length" do

  it "returns the length of digest block" do
    cur_digest = Digest::SHA512.new
    cur_digest.block_length.should == SHA512Constants::BlockLength
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

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