code: def get_private_key(secret_key, salt, key_len=128):
      """
      Generate AES required random secret/privacy key
      :param secret_key: secret key in string
      :param salt: secret slat in string
      :param key_len: key len (128 or 256)
      :return: random key
      """
      # AES key_len means key bit length, not string/char length
      # 16 for 128 and 32 for 256
      bit_len = (key_len / 128) * 16
      return hashlib.pbkdf2_hmac(
          "SHA256",
          secret_key.encode(),
          salt.encode(),
          65536,
          int(bit_len),
      )
  
file_path: analytics-zoo/pyzoo/zoo/common/encryption_utils.py
imports: import os
  from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
  from cryptography.hazmat.primitives import padding
  from cryptography.hazmat.backends import default_backend
  import base64
  import hashlib
label_desc: Use image node_id 1 for calling a global function with example usage: get_private_key(secret_key, salt, key_len) and returns: hashlib