This Python project provides a simple yet powerful tool to encrypt and decrypt PDF files. It utilizes the PyPDF2 and PyMuPDF libraries to perform encryption and decryption operations, making it easy to secure sensitive PDF documents or access password-protected files.
Features Encrypt PDF Files: Protect your PDF documents by encrypting them with a password of your choice. Decrypt Password-Protected PDFs: Easily remove password protection from PDF files, allowing you to access and modify them freely. Streamlit Interface: Enjoy a user-friendly interface powered by Streamlit, making it intuitive to encrypt or decrypt PDF files with just a few clicks. Cross-Platform Compatibility: Works seamlessly on various operating systems, including Windows, macOS, and Linux.
Usage Upload PDF File: Select the PDF file you want to encrypt or decrypt using the provided file uploader. Choose Operation: Decide whether you want to encrypt or decrypt the PDF file. Enter Password: For encryption, enter a password to protect the PDF file. For decryption, provide the password required to access the protected PDF. Perform Operation: Click the corresponding button to perform the selected operation. Download: Once the operation is completed, download the processed PDF file with the provided link.
Getting Started To use this tool locally, follow these steps: Clone this repository to your local machine. Install the required dependencies by running pip install -r requirements.txt. Run the application using streamlit run encrypt_decrypt.py.
Follow the instructions provided in the Streamlit interface to encrypt or decrypt PDF files