encryptpdf - Encrypt a PDF
Encrypts the uploaded PDF with the given password. The password must not be empty.
Encrypting a PDF means converting the information in the document into a coded form that can only be deciphered with the correct password or encryption key. This helps to protect the sensitive information in the PDF from unauthorised access. The encrypted PDF can only be opened and viewed by someone with the correct password or encryption key, ensuring the privacy and security of the document's contents. The API feature makes it easy to encrypt PDFs by providing a streamlined interface for performing this task.
A string containing the secret password which will be further used to lock the pdf.
PDF file to be encrypted.