Skip to content

Code061/text-encryption-gui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Encrypt & Decrypt

This project provides a simple graphical user interface (GUI) for text encryption and decryption using the Tkinter library in Python. The application allows users to input text and a secret key, and then encrypt or decrypt the text using the provided key.

Features

  • Text Input: Enter the text you want to encrypt or decrypt.
  • Secret Key Input: Enter a secret key for encryption and decryption.
  • Encrypt Button: Encrypt the entered text using the secret key.
  • Decrypt Button: Decrypt the entered text using the secret key.
  • Reset Button: Clear the text and secret key input fields.

Requirements

  • Python 3.x
  • Tkinter library (usually included with Python)

Installation

  1. Clone the repository:
    git clone https://github.com/Code061/encrypt_decrypt.git
  2. Navigate to the project directory:
    cd encrypt_decrypt

Usage

  1. Run the Encrypt_&_Decrypt.py script:
    python Encrypt_&_Decrypt.py
  2. The GUI window will open. Enter the text and secret key, then click the appropriate button to encrypt or decrypt the text.

Code Overview

  • main_screen(): Initializes the main window and sets up the GUI components.
  • reset(): Clears the input fields.
  • encrypt(): Function to handle text encryption (implementation not provided in the snippet).
  • decrypt(): Function to handle text decryption (implementation not provided in the snippet).

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

License

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

About

Text encryption and decryption using the Tkinter library in Python. ( GUI )

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages