BossCrypto is a simple cryptographic encoding and decoding tool built using a character mapping technique. This is not an advanced cryptographic method but serves as a basic example of how text can be obfuscated using mappings.
- Encoding: Transforms plain text into encoded text using a predefined mapping.
- Decoding: Reverts the encoded text back into its original form.
- Supports letters (both uppercase and lowercase), numbers, spaces, and some special characters.
The program uses two predefined dictionaries:
mapping
- Used for decoding text.mapping_2
- Used for encoding text.
Each character in the input file (BossCrypto.txt
) is mapped to its corresponding encoded or decoded counterpart based on the selected operation.
Below is the mapping technique used in BossCrypto:
This table illustrates how plain text characters are converted to cipher text characters and vice versa.
- Place the input text to be encoded or decoded in a file named
BossCrypto.txt
in the same directory as the script. - Run the script using Python.
- Select the desired operation:
- Enter
1
for Encoding. - Enter
2
for Decoding.
- Enter
- The result (encoded/decoded text) will be displayed as the "Flag."
Hello World 123
Flag : Xjxmm=Vmpzm=876
Flag : Hello World 123
- Clone the repository:
git clone https://github.com/BlackBossX/BossCrypto.git
- Navigate to the directory:
cd BossCrypto
- Run the script:
python BossCrypto.py
- The mappings are fixed and easily reversible, so this method does not provide strong security.
- The tool is intended for learning and demonstration purposes, not for real-world secure encryption.
Blaky,
- For support, email [email protected]