Skip to content

Burak3405/Python_encryption_program

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Python Text Encryptor & Decryptor

A simple, command-line based encryption and decryption tool built with Python.

Features

  • Encrypt: Converts plain text into cipher text using a randomly generated character key.
  • Decrypt: Reverses the cipher text back to the original message.
  • CLI Interface: Simple text-based menu for easy interaction.
  • Modular Code: Refactored into separate functions for clear logic

Usage

  1. Run the script using Python: python main.py
  2. Follow the on-screen prompts:
    • Press E to encrypt a message.
    • Press D to decrypt a message.
    • Press Q to safely exit the program.

Planned Updates

  • Implement Dictionary data structures to improve character lookup performance from O(N) to O(1).
  • Add functionality to export and import the encryption key (e.g., to a .txt or .json file) so messages can be decrypted across different sessions.

About

Python CLI utility that encrypts and decrypts text data

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages