This Python script allows users to perform Base64 encoding and decoding.
- Run the script in a Python environment.
- Choose the operation:
- Enter
1
for encoding - Enter
2
for decoding
- Enter
If you chose to encode (option 1):
- Enter the text you want to Base64 encode.
- The script will display the Base64 encoded result.
If you chose to decode (option 2):
- Enter the Base64 encoded string.
- The script will attempt to decode and display the original text.