code: def __init__(self, user, password, mechanism):
      self.nonce = str(uuid.uuid4()).replace("-", "")
      self.auth_message = ""
      self.salted_password = None
      self.user = user
      self.password = password.encode("utf-8")
      self.hashfunc = self.MECHANISMS[mechanism]
      self.hashname = "".join(mechanism.lower().split("-")[1:3])
      self.stored_key = None
      self.client_key = None
      self.client_signature = None
      self.client_proof = None
      self.server_key = None
      self.server_signature = None
  
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 1 to create a new ScramClient object  with example: obj = ScramClient(user, password, mechanism)