PDF Encryption and Decryption
Summary
This Pull Request introduces a Graphical User Interface (GUI) for the PDF security scripts, making the tool more accessible and user-friendly. It also integrates the core encryption/decryption logic into a single application and adds a permanent author credit at the bottom of the window.
Description
This change converts the previously command-line-only Python scripts into a functional desktop application using the Tkinter library. Users can now easily select files, input passwords, and choose between the Encrypt and Decrypt operations via buttons, removing the need to edit the source code for configuration.
The application includes robust error handling to guide the user on necessary inputs and dependencies.
The changes are as follows:
- Created
pdf_enc_dec.py: Merged encryption/decryption logic into a single, comprehensive Python file. - Implemented Tkinter GUI: Added widgets for file browsing, password entry (User/Open and Owner/Admin), and two action buttons (Encrypt and Decrypt).
- Added Author Credit: Incorporated a permanent label at the bottom of the application window displaying the text: "Made By Soriful Islam Sk."
- Improved Dependency Check: Ensured the code relies on the presence of the
cryptographylibrary for AES-256 to function correctly.
Checks
in the repository
- [x] Made no changes that degrades the functioning of the repository
- [x] Gave each commit a better title (unlike updated README.md)
in the PR
- [x] Followed the format of the pull_request_template
- [x] Made the Pull Request in a small level (for the creator's wellfare)
- [x] Tested the changes you made
Thank You, Soriful Islam Sk
hey @DhanushNehru i just changed the login for dec kindly check my pr #496