code: def export_gcm_encrypted_private_key(self, password: str, salt: str, n: int = 16384) -> str:
          
          r = 8
          p = 8
          dk_len = 64
          scrypt = Scrypt(n, r, p, dk_len)
          derived_key = scrypt.generate_kd(password, salt)
          iv = derived_key[0:12]
          key = derived_key[32:64]
          hdr = self.__address.b58encode().encode()
          mac_tag, cipher_text = AESHandler.aes_gcm_encrypt_with_iv(self.__private_key, hdr, key, iv)
          encrypted_key = bytes.hex(cipher_text) + bytes.hex(mac_tag)
          encrypted_key_str = base64.b64encode(bytes.fromhex(encrypted_key))
          return encrypted_key_str.decode('utf-8')
docs: This interface is used to export an AES algorithm encrypted private key with the mode of GCM.
  
          :param password: the secret pass phrase to generate the keys from.
          :param salt: A string to use for better protection from dictionary attacks.
                        This value does not need to be kept secret, but it should be randomly chosen for each derivation.
                        It is recommended to be at least 8 bytes long.
          :param n: CPU/memory cost parameter. It must be a power of 2 and less than 2**32
          :return: an gcm encrypted private key in the form of string.