Script for quick encription of files
Generating a key file will save a randomly-generated key to encrypt the data with, after the file is encrypted it will require the SAME key to be decrypted, using a different key to decrypt the data will corrupt the data and the original key won't work to decrypt it anymore.
Start by running the Quickcrypt.exe
GENERATE NEW KEY
Click the Generate Key button in the bottom-center side of the window and a pop-up will show
By default the key will be saved in the current working directory, if you want to change that, uncheck the box
Fill it up and click cancel to abort or generate to create the key file, if the directory doesn't exist, it'll create one and save the key file there
At this point a file will be created in the specified location
ENCRYPT FILE
To encrypt we first need a key, if we don't have one yet we'll have to create one following the steps above, to select a key file clicl on Open key
A window dialog will pop up, navigate to the keys location and open it
Repeate the operation now with the Open file button to select the file to encrypt
Here is the result of trying to open an encrypted txt file
Original:
After encrypting:
DECRYPT FILE
To decrypt a file we'll have to follow the same steps to chose the key and file to be decrypted MAKE SURE TO USE THE SAME KEY TO DECRYPT AS THE ONE YOU USED TO ENCRYPT THAT FILE
Once the key and input files are selected just click on Decrypt and the file will return to normal and will behave as usual
WARNING! Lossing the original key or encrypting/decrypting twice in a row may result in unrecoverable data, use it under own risk, the idea behind it is "I'd rather lose this info than have it stolen"