This Application is dotnet tool and .net core 2.1 Application.
The main purpose of this tool is to encrypt or decrypt a folder(s) or unique file(s) using AES 256 Encryption Algorithm. Data will be encrypted with your preferred password.
dotnet-encrypto decrypt --help
Encrypt Folder(s) or Files
dotnet-encrypto encrypt -i /home/tcs/Downloads/ -q
password as command line parameter:
dotnet-encrypto encrypt -i /home/tcs/Downloads/ -p "123"
Encrypt File at Base64 output
dotnet-encrypto encrypt -i /home/tcs/Downloads/file.txt --base64 -p "123"
encrypt file with output parameter
dotnet-encrypto encrypt -i ~/Downloads/logs/elastic-search.txt -p "123" -o ~/Downloads/logs/elastic-search-encrypt.log --base64
dotnet-encrypto generate a mapping file for safety reasons. In case you delete the original file from the directory but you keep the encrypted file, after decryption the tool will restore the original unencrypted file
--local-output
dotnet-encrypto encrypt -i ~/Downloads/logs/original.log -o ~/Downloads/logs/encrypted.log -p "123" --base64 --local-output
generate output file at the folder of the input file
Encrypt Text:
Create a base64 encoded encrypted text:
dotnet-encrypto encrypt -t "tom" -q
pass password as command line parameter
dotnet-encrypto encrypt -t "tom" -p "123"
Decrypt Folder(s) or Files
dotnet-encrypto decrypt -i /home/tcs/Downloads/ -q
password as command line parameter
dotnet-encrypto decrypt -i /home/tcs/Downloads/ -p "123"
Decrypt File at Base64 output
dotnet-encrypto decrypt -i /home/tcs/Downloads/ --base64 -p "123"
decrypt file with output parameter
dotnet-encrypto decrypt -i ~/Downloads/logs/elastic-search-encrypt.log -p "123" -o ~/Downloads/logs/elastic-search-txt --base64
dotnet-encrypto decrypt -t ""P/A6VZEaRHCB8WV9S5m58g==" -q
password as command line parameter
dotnet-encrypto decrypt -t "P/A6VZEaRHCB8WV9S5m58g==" -p "123"