A tool that encodes and decodes text using a password in .txt files.
Make sure the python is installed on your system (Windows/Linux/MacOS).This project is working on Base64.
The tool is currently tested on :1. Windows (10)
The testing is going on different systems.
There are 5 parameters after command python
(windows) or python3
(Linux) :
- TextGuardian.py - The tool file.
- -e - Encode the input.
- -d - Decode the input.
- -p password - The password set on the text/text file.
- -i "Text"/.txt - The string / .txt file want to encode / decode.
- -o output_file.txt - The encoded / decoded text is store in that .txt file.
While using string, put your text inside "".
For example, if you want to encodeHello
then,"Hello"
.
Give any name you want to that output_file.
2. Open the folder.
3. Open CMD/Powershell (Windows) or Terminal (Linux) in that folder.
4. It can use by giving input in two ways :
String
and .txt
files.
- To use with string :
python TextGuardian.py -e -p password -i "Text" -o encrypted_text.txt
python TextGuardian.py -d -p password -i encrypted_text.txt -o decrypted_text.txt
- To use with .txt files :
The original_text.txt is that file which contain original text whant to encode.
python TextGuardian.py -e -p password -i original_text.txt -o encrypted_text.txt
python TextGuardian.py -d -p password -i encrypted_text.txt -o decrypted_text.txt
2. It can work with string and .txt files.
3. It lock/unlock the text with a password.