Welcome to the Secret Code Language project! This Python program allows you to encode and decode messages using a fun and secretive coding technique, making your communications more playful and secure.
-Encoding: Transform readable messages into jumbled code. -Decoding: Retrieve the original message from the coded format. -Word Handling: Custom rules for short and long words.
- For words with 3 or more characters:
- The first letter is moved to the end.
- Three random characters are added at the beginning and end.
- For words with fewer than 3 characters, the word is simply reversed.
- For words with fewer than 3 characters, they are reversed back.
- For longer words, the 3 random characters are stripped from the start and end, reconstructing the original word.
- Python 3.x
-
Clone this repository:
git clone https://github.com/yourusername/secret-code-language.git ```
-
Navigate to the project directory:
cd secret-code-language
-
Running the program: Run the program using Python:
python secret_code_language.py
Input: "Hello World"
Output: "xyzxollHeabc123"
Input: "xyzxollHeabc123"
Output: "Hello"
Contributions are welcome! If you have suggestions for new features or improvements, please fork the repository and submit a pull request. For bug reports or feature requests, open an issue.
This project is licensed under the MIT License.
For questions or feedback, feel free to reach out to: [email protected]