class JWT::JWA::HmacRbNaCl

def sign(data:, signing_key:)

def sign(data:, signing_key:)
  Deprecations.warning("The use of the algorithm #{alg} is deprecated and will be removed in the next major version of ruby-jwt")
  hmac.auth(key_for_rbnacl(hmac, signing_key).encode('binary'), data.encode('binary'))
end