The Secure Text Editor is an application built using Python's tkinter library, offering encryption functionalities for text files using pyDes and pycryptodome.
- DES Encryption: Encrypt files using the symmetric DES (Data Encryption Standard) algorithm.
- RSA Encryption: Employ asymmetric RSA (Rivest-Shamir-Adleman) encryption for secure file handling.
- Open a terminal.
- Navigate to the directory where the
text_editor.pyfile is. - Execute the following command:
python text_editor.py - The application window will appear, enabling you to perform text editing operations with encryption capabilities (DES or RSA encryption available). You can start by encrypting the provided
testing.txtfile, or create a new file. - To use the DES encryption, you need to input a non-empty password.
- To use the RSA encryption, a pair of public and private keys is needed. Use the Generate Key button to generate the keys. You can then start using this encryption method. Note that RSA encryption cannot be used on texts that are too long.