Encrypting and decrypting documents
Encrypted PDF files are widely used to protect sensitive data. Having the ability to automate encryption and decryption can be a key feature to aid automating manual tasks. In the following section, you will learn how to encrypt and decrypt PDF files using RPA. For this walk-through, we will be using the existing Chapter14_Games.pdf
file from the GitHub repository.
Encrypting a PDF file
We will use our Chapter14_Games.pdf
file and apply encryption to this document. Automation Anywhere allows you to apply one of the industry-standard encryption algorithms from RC4 40-bit, RC4 128-bit, or AES 128-bit. Like always, let's begin by adding our comments.
Let's start this walk-through by executing the following steps:
- Add a new Comment action just below line 9,
"------- Encrypt PDF File"
, and click on Save. - To encrypt our PDF file, add the PDF: Encrypt document action just below line 10 so that you can start to set...