Encrypt

class gladier_tools.posix.encrypt.Encrypt(alias: str = None, alias_class: ToolAlias = None)

Bases:

The Encrypt tool takes in a file and a password to perform 128-bit AES symmetric key encryption on the file. The original contents of the file are overwritten with the encrypted text. Adds an extension (.aes) to the name of the file. It has not been found to be compatible with 3rd party encryption/decryption tools.

FuncX Functions:

  • encrypt (funcx_endpoint_compute)

Parameters:
  • encrypt_input – Path to the file which needs to be encrypted.

  • encrypt_output – Custom path to outputfile. Default is the same file with the ‘.aes’ suffix added

  • encrypt_key – Symmetric key or “password” which can be used to decrypt the encrypted file.

  • funcx_endpoint_compute – By default, uses the compute funcx endpoint.

Returns output_path:

Location of the encrypted file.