A Python-based CLI program to encode and decode messages secretly.
It uses a simple random prefix/suffix + letter-shift algorithm to disguise text, making it fun for creating hidden messages.
β Note: This program is for fun and educational purposes only β it is not secure for sensitive or confidential data.
- Encode any message into a coded secret string
- Decode back to the original message
- Random prefix/suffix generation for extra disguise
- Colorful CLI interface (using
colorama
) - Built-in warning screen before starting
- Handles invalid inputs & errors gracefully
- Encoded messages are not cryptographically secure
- Use this tool only for fun, learning, and practice
- Do not use it to protect sensitive or private information
- Same method is used for both encoding and decoding
- The algorithm can be reversed easily by someone who knows how it works
- Clone this repository or download the script file.
- Install the required package:
pip install colorama
Run the program in your terminal: python secret_encoder.py When started, youβll first see a warning banner in red:
| WARNING - READ CAREFULLY β | | | | This program is designed for secret message encoding... | | ... |
β Press Enter to continue (or type Exit to cancel)...
- Encode
- Decode
- Exit
Encoding: You can choose one from below:-
- Encode
- Decode
- Exit Enter your choice: 1 Enter your message: hello world Your Secret Message is: abcellohaq xyzorldwbz
Decoding: Enter your choice: 2 Enter your secret code here: abcellohaq xyzorldwbz Your Decoded Message is: hello world
Exit: Enter your choice: 3 β Thanks for using our Program...
secret_encoder.py # Main program file README.md # Project documentation
This project is released under the MIT License. You are free to use, modify, and share it β at your own responsibility.