A simple, command-line based encryption and decryption tool built with Python.
- 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
- Run the script using Python: python main.py
- Follow the on-screen prompts:
- Press E to encrypt a message.
- Press D to decrypt a message.
- Press Q to safely exit the program.
- 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.