lib/cose/algorithm/hmac.rb in cose-0.10.0 vs lib/cose/algorithm/hmac.rb in cose-0.11.0
- old
+ new
@@ -4,9 +4,11 @@
require "openssl"
module COSE
module Algorithm
class HMAC < Base
+ BYTE_LENGTH = 8
+
attr_reader :hash_function, :tag_length
def initialize(*args, hash_function:, tag_length:)
super(*args)