This Python script provides a simple command-line interface for encrypting and decrypting text using Base64 encoding. Base64 encoding is a common technique used to convert binary data into ASCII text format, which can be easily transmitted or stored as text.
To use this script, follow the steps below:
Clone this repository by running the following command in your terminal or command prompt:
git clone https://github.com/Code205/Base64-Converter.git
Change your working directory to the cloned repository:
cd Base64-Converter
Run the script using the following command:
python3 Convert_Base64.py
Once the script is running, it will present you with a menu where you can choose between encryption and decryption options. Simply follow the on-screen instructions to encrypt or decrypt your text.
---------------------------------------------
Welcome to Base64 Text Encryption/Decryption
---------------------------------------------
Options:
1. Encrypt
2. Decrypt
3. Exit
Enter your choice (1, 2, or 3):
If you choose to encrypt, enter the text you want to encrypt, and the script will display the encrypted text:
-----------------------
Enter the text to encrypt
-----------------------
Input here: Hello, World!
Encrypted Text: SGVsbG8sIFdvcmxkIQ==
If you choose to decrypt, enter the encrypted text, and the script will display the decrypted text:
-----------------------
Enter the text to decrypt
--------------------------
Input here: SGVsbG8sIFdvcmxkIQ==
Decrypted Text: Hello, World!
To exit the script, choose option 3:
Options:
1. Encrypt
2. Decrypt
3. Exit
Enter your choice (1, 2, or 3): 3
Thank you for using Base64 Text Encryption/Decryption!
License This script is licensed under the MIT License.
Base64 Encryption/Decryption
Feel free to use and modify the script as needed. Contributions are welcome!