Skip to content

Latest commit

 

History

History

encrypt_PDF

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Encrypting a PDF

The code will help to encrypt the PDF with an password. A new encrypted PDF will be created.

Installation

  • Install Python to your system.

  • Install the module PYPDF2

  • Do it by typing this on Power Shell (for Windows) or Bash (for Linux)

pip install PyPDF2

Now you are ready to run the code

Note:

  • Create any folder and copy the encryptPDF.py file in that folder and also make sure that the PDF to be encrypted is in that same folder.

Time to execute the code!!

  • Open the encryptPDF.py file i.e run it.
  • Give the name of the folder and other instructions asked.

Contributions

  • Ameya Jain (https://github.com/AmeyaJain-25)
    Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.