code: def _cryptodome_decrypt(cipher_factory, ciphertext, key, iv):
      
      decryptor = cipher_factory(key, iv)
      return decryptor.decrypt(ciphertext)
docs: Use a Pycryptodome cipher factory to decrypt data.
  
      :param cipher_factory: Factory callable that builds a Pycryptodome Cipher
          instance based on the key and IV
      :type cipher_factory: callable
      :param bytes ciphertext: Ciphertext data to decrypt
      :param bytes key: Encryption key
      :param bytes IV: Initialization vector
      :returns: Decrypted plaintext
      :rtype: bytes