Sha256: 631b081dc93728ce64393992a97565cca45a46c060b9f35506a5c8d4fed8f2fc

Contents?: true

Size: 393 Bytes

Versions: 5

Compression:

Stored size: 393 Bytes

Contents

# encoding: binary
# frozen_string_literal: true

RSpec.describe RbNaCl::HMAC::SHA256 do
  let(:key)       { vector :auth_hmac_key }
  let(:message)   { vector :auth_hmac_data }
  let(:tag)       { vector :auth_hmacsha256_tag }
  let(:mult_tag)  { vector :auth_hmacsha256_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/sha256_spec.rb
rbnacl-7.1.0 spec/rbnacl/hmac/sha256_spec.rb
rbnacl-7.0.0 spec/rbnacl/hmac/sha256_spec.rb
rbnacl-6.0.1 spec/rbnacl/hmac/sha256_spec.rb
rbnacl-6.0.0 spec/rbnacl/hmac/sha256_spec.rb