To make sure you understand this article, the VeryPDF.com lists two computer terms here.
Encryption is a sophisticated scrambling method that is designed to prevent unauthorized eavesdropping on electronic data. It works by taking a piece of information and processing it with a mathematical formula (called an "algorithm") that converts the information into a meaningless string of letters and numbers.
Key length is sometimes used to measure the relative strength of the encryption algorithm (i.e., the longer the key length, the more difficult the key is to decode). Encryption can be describes as 128-bit & 40-bit in terms of key length. The main difference is that 128-bit encryption provides a significantly greater amount of cryptographic protection than 40-bit encryption.
This article uses---Set the key length to 40 when---as example to illustrate how to set the key length when through Advanced PDF Tools Command Line.
Step 1 click the following link to download Advanced PDF Tools
please unpack it when download is finished.
Step 2 launch the MS-DOS command prompt window. Because theis bound to be operated under the MS-DOS environment. The procedure is easy, and the following pictures will guide you.
1) click “start” and then go to “Run”
2) input cmd into the following
3) press “ok”, you will find MS-DOS command prompt window popping up
Step 3 inputto set the key length when
it goes below
pdftools.exe -i C:\*.pdf -o D:\*.pdf -S openpwd=123 -S keylen=0
- -i is to specify a pdf filename or a directory for input,
- -o is to specify the pdf file name for output,
- -S openpwd=123 to set an open password as 123
- -S keylen=0 refers to 40 bit RC4 encryption (Acrobat 3 or higher)
-S "keylen=0" : 40 bit RC4 encryption (Acrobat 3 or higher)
-S "keylen=1" : 128 bit RC4 encryption (Acrobat 5 or higher)
-S "keylen=2" : 128 bit AES encryption (Acrobat 7 or higher)
when the input is done, press “enter” key, you will see
Step 4 open the file to check if opening the file an open password is needed