Sha256: bb7f9b3674e2bb2301e42bbc08e20975c51795825f0bdebd904953beb2a15977

Contents?: true

Size: 353 Bytes

Versions: 9

Compression:

Stored size: 353 Bytes

Contents

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

describe "Digest::SHA512#digest!" do

  it "returns a digest and can digest!" do
    cur_digest = Digest::SHA512.new
    cur_digest << SHA512Constants::Contents
    cur_digest.digest!().should == SHA512Constants::Digest
    cur_digest.digest().should == SHA512Constants::BlankDigest
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

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