PDF documents are the de facto format for presenting text, formatting, and images independently of software, hardware, or operating system. Aspose.PDF Cloud offers a range of operations that integrate seamlessly with your existing PDFs, enabling conversion, information extraction, and easy encryption and decryption.
Encrypt a PDF Document
Aspose.PDF Cloud allows you to easily encrypt a PDF document. Encrypting a PDF makes it unreadable to anyone without the password, helping you protect sensitive information. You can similarly encrypt a file using the ubiquitous Adobe PDF Reader
The example below demonstrates applying the AESx256 encryption algorithm to a PDF document stored in Aspose Cloud Storage. The encrypted file is then saved back to the cloud.
Valid API Parameters
The cryptoAlgorithm parameter accepts the following values, representing the cryptographic algorithm used for encryption or decryption.
When you open an encrypted PDF, you will be prompted for a password.
Decrypt a PDF Document
Aspose.PDF Cloud also lets you quickly decrypt a PDF document. PDFs encrypted with the previous method must be decrypted before use. Remember, the password must be provided as a Base64‑encoded string.
Have any Question
Feel free to drop us a comment below sharing your thoughts about Aspose.PDF Cloud REST API. Or let’s know if you have any suggestions or if you need any particular features which you expect our REST API to have.
Try It Out
And if you’ve not already had a chance to try our REST API, simply start a free trial today. All you need is to sign up with the aspose.cloud. Once you’ve signed up, you’re ready to try the powerful file processing features offered by aspose.cloud.