DEV Community

Cover image for EncrypC - File Encryption Application using Python

EncrypC - File Encryption Application using Python

Dhruv Panchal
I am an undergrad student who is obsessed with the idea of improving himself and wants a platform to grow and excel.
・2 min read

What I Built:

EncrypC is an Application made using Tkinter module from Python and here I used PyCryptodomex to Encrypt and Decrypt Files (AES) from the Passkey entered by the User.

EncrypC Stable EncrypC Working

Tech Stack Used:

  • Python3
  • Tkinter for GUI (Inbuilt)
  • pycryptodomex for Cryptodome (AES Encryption)

External Dependencies to be Installed:

  • pycryptodomex (AES encryption)
pip install pycryptodomex
Enter fullscreen mode Exit fullscreen mode

Tutorial to Encrypt/Decrypt Files:

  1. Open the Application and Click SELECT FILE Button to select your file e.g. "mydoc.pdf" (OR You can add path manually).
  2. Enter your Key (This should be alphanumeric letters). Remember this so you can Decrypt the file later. (Else you'll lose your file permanently)
  3. Click ENCRYPT Button to encrypt the file. A new encrypted file with ".encr" extention e.g. "mydoc.pdf.encr" will be created in the same directory where the "mydoc.pdf" is.
  4. When you want to Decrypt a file you, will select the file with the ".encr" extention and Enter your Key which you chose at the time of Encryption. Click DECRYPT Button to decrypt. The decrypted file will be of the same name as before with the suffix "decrypted" for e.g. "mydoc_decrypted.pdf".
  5. Click CLEAR Button to reset the input fields and status bar.

Important Note:

  • The Authors will not be responsible for any kind of loss of data so it is essential to have a Backup of Original Data you give as Input to Encrypt/Decrypt in the Software. Under no circumstances shall we be liable or responsible to you or any other person for any damages, loss of any of your useful data by using this Software. Read the LICENSE for more information.

Check it out on EncrypC Source Code

Discussion (0)