Library for common encryption and hashing operations.
It uses the Fernet format for encryption. More specifically, it uses AES in CBC mode with a 128-bit key for encryption and HMAC with SHA256 for authentication.
To use the encryption features, generate a key with the command line utility rpa-crypto or with the keyword Generate Key. Store the key in a secure place, such as Robocorp Vault, and load it within the execution before calling encryption/decryption keywords.
Example usage with Robocorp Vault
Create an encryption key with the CLI utility:
Store the key in Robocorp Vault, in this case with the name EncryptionKey.
Load the key from the vault before encryption operations:
In another task, this same key can be used to decrypt the file: