QTLSecure is just a console application designed to take the functionalities from the QuickTools Library and inplement an easy to use inplamantation of the QuickTools.Security.Secure class which includes multiple methods in it but the ones implemented in it are the EncryptFile and DecrypFile along with the functionalities of allowing multiple files encription and also command line parameters for the easy use of the application
From the terminal you could simply just execute the program but where you could take advantage the most is with the easy to use arguments that you bould pass to it as an example: The console only expect 5 Arguments and 2 of them are optionals example:
by just dobule click in the app and fallowing the fallowing the steps that it ask you for
Quick Tutorial on how to use the QTLSecure Program:
The Program could be used on 2 Simple wasy
-
Clicking on it and fallowing the steps
Encrypting: To encrypt a file you just need the fallowing things
File: the file to encrypt Password: The password to encrypt the file "IV" could be omitted by typing 'null' but if you type anything else you will have to remember what that was otherwise you won't be able to decrypt the file OutFile: this will be the output file if you type "same" it will override the original file and by default is set to encrypted_{name of the file}
Examples in the Video: https://github.com/Mel4221/QTLSecure/blob/main/README.md#video-tutorial
Decrypting:
This Requires literally the same steps from encrypting but remember to select the file that is encrypted because it could fail if the file selected is the incorrect one
-
Passing Arguments from the terminal
Encrypting: To encrypt a file from the terminal is almost the same than fallwoing the steps the only difference here will be the way and the oreder of the comands an example will be the fallowing:
./RunProgram [ File ] [ Mode ] [ Password ] [ IV ] [ OutFile ] ./QTLSecure.exe file.txt -encrypt 1234 null encrypted_file.txt The arguments to encrypt are very simple: File: File to encrypt not biger than 100MB Prefered Password: the password to encrypt the file Mode: -e,-encrypt,encrypt: IV: "null" or anything else but remember that you can not forget it. OutFile: set the file to output
Decrypting Literally the same the only thing that changes are the Modes:
The arguments to encrypt are very simple: File: File to encrypt not biger than 100MB Prefered Password: the password to encrypt the file Mode: -d , decrypt,-decrypt IV: "null" or anything else but remember that you can not forget it. OutFile: set the file to output
Finally one extra function is to encyrpt all the file in a directory which uses the method of overritting all the files in the given directory also there will be a video showing how to do it but i will type an example from the terminal and in the video there will be an example on how to do it too.
Encrypting All the files in a directory: ./RunProgram [ File ] [ Mode ] [ Password ] [ IV ] [ OutFile ] ./QTLSecure.exe privatedocs -encrypt-all 1234 null same in this option is required the option same anything else will be ignored Decrypting almost everyting the same but as always the Mode must be differen ./RunProgram [ File ] [ Mode ] [ Password ] [ IV ] [ OutFile ] ./QTLSecure.exe privatedocs -decrypt-all 1234 null same