Python-Scripts icon indicating copy to clipboard operation
Python-Scripts copied to clipboard

PDF Encryption and Decryption

Open emcc2302 opened this issue 2 months ago • 1 comments

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 cryptography library 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

Screenshot 2025-10-06 215110 Screenshot 2025-10-06 215208 Screenshot 2025-10-06 215257

emcc2302 avatar Oct 06 '25 16:10 emcc2302

hey @DhanushNehru i just changed the login for dec kindly check my pr #496

emcc2302 avatar Oct 07 '25 10:10 emcc2302