spec/rbnacl/hmac/sha512256_spec.rb in rbnacl-5.0.0 vs spec/rbnacl/hmac/sha512256_spec.rb in rbnacl-6.0.0

- old
+ new

@@ -1,8 +1,13 @@ # encoding: binary # frozen_string_literal: true RSpec.describe RbNaCl::HMAC::SHA512256 do - let(:tag) { vector :auth_hmacsha512256 } + let(:key) { vector :auth_hmac_key } + let(:message) { vector :auth_message } + let(:tag) { vector :auth_hmacsha512256_tag } + let(:mult_tag) { vector :auth_hmacsha512256_mult_tag } + let(:wrong_key) { "key".encode("utf-8") } + include_examples "HMAC" include_examples "authenticator" end