code: def hmac(self, key, msg):
      return hmac.new(key, msg, digestmod=self.hashfunc).digest()
  
file_path: kafka-python/kafka/scram.py
imports: from __future__ import absolute_import
  import base64
  import hashlib
  import hmac
  import uuid
  from kafka.vendor import six
label_desc: Use image node_id 4 for calling the ScramClient obj's underlying member method code with example usage: obj.hmac(key, msg) and returns: hmac