Sha256: 2af2e96c83ec70eb72ee2ead860d34b95819e0b923d2152e1383a65f5afb60d5

Contents?: true

Size: 393 Bytes

Versions: 5

Compression:

Stored size: 393 Bytes

Contents

# encoding: binary
# frozen_string_literal: true

RSpec.describe RbNaCl::HMAC::SHA512 do
  let(:key)       { vector :auth_hmac_key }
  let(:message)   { vector :auth_hmac_data }
  let(:tag)       { vector :auth_hmacsha512_tag }
  let(:mult_tag)  { vector :auth_hmacsha512_mult_tag }
  let(:wrong_key) { "key".encode("utf-8") }

  include_examples "HMAC"
  include_examples "authenticator"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rbnacl-7.1.1 spec/rbnacl/hmac/sha512_spec.rb
rbnacl-7.1.0 spec/rbnacl/hmac/sha512_spec.rb
rbnacl-7.0.0 spec/rbnacl/hmac/sha512_spec.rb
rbnacl-6.0.1 spec/rbnacl/hmac/sha512_spec.rb
rbnacl-6.0.0 spec/rbnacl/hmac/sha512_spec.rb