Skip to content

RahulPatil-Tech/PDF_Encryption_and_Decryption_with_Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

PDF Encryption & Decryption with Python

This repository contains a Python script that demonstrates how to encrypt and decrypt PDF files using the PyPDF2 library. The script provides a simple graphical user interface (GUI) built with Tkinter, allowing users to select a PDF file, enter a password, and perform encryption or decryption operations.

Prerequisites

  • Python 3.x
  • PyPDF2 library

Usage

  1. Clone the repository:

    git clone https://github.com/RahulPatil-Tech/PDF_Encryption_and_Decryption_with_Python.git
  2. Navigate to the project directory:

    cd pdf-encryption-decryption-python
  3. Install the required dependencies:

    pip install PyPDF2
    pip install tk
  4. Run the script:

    App.py
  5. The GUI window will appear. Click on the "Encrypt PDF" button to encrypt a PDF file or "Decrypt PDF" to decrypt a PDF file. Select the desired PDF file, enter a password, and click the corresponding button.

Screenshots


1. Encrypt PDF

image

image


2. Decrypt PDF

image


3. File Saved As

image

Contributing

Contributions are welcome! If you have any suggestions, improvements, or bug fixes, please feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

License: MIT

About

Demonstrates how to encrypt and decrypt PDF files using the PyPDF2 library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages