A tool that encodes text and gives out a key that you can decode with this program too!
Our official test UI : diec-test-gui
pip install diec
from diec.encoder import encode
encode("I love python and I love to learn new things here too! <3")
The Key you created : key.diec
The encoded text : encoded.diec
Both of them will appear in your current directory
from diec.decoder import decode
decode() # The key.diec and encoded.diec files have to be in the same directory as the file that runs this command.
I love python and I love to learn new things here too! <3
The Diec CLI (Command Line Interface) allows you to easily encode and decode text via the terminal.
Make sure Diec is installed:
pip install diec
After installation, you can use the following commands:
-
Encode Text:
To encode a text, use the
encode_cli
command. Provide the desired text in quotes:python -m diec encode-cli "Your text here"
Example:
python -m diec encode-cli "I love Python and learning new things! <3"
After running this command, a key file (
key.diec
) and an encoded file (encoded.diec
) will be created in your current directory. -
Decode Text:
To decode an encoded text, use the
decode_cli
command:python -m diec decode-cli
Make sure that the
key.diec
andencoded.diec
files are in the same directory as the script you run.