dotnet-encrypto
1.1.4
dotnet tool install --global dotnet-encrypto --version 1.1.4
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local dotnet-encrypto --version 1.1.4
#tool dotnet:?package=dotnet-encrypto&version=1.1.4
nuke :add-package dotnet-encrypto --version 1.1.4
Encryption Tool
Application - Instructions
1. Encrypto
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.
Usage
Usage: dotnet-encrypto [params] [options]
** Params:
Parameter Description
encrypt
Encrypt Folder(s) or Files
decrypt
Decrypt Folder(s) or Files
** Options:
Option Description
--help
Show help information
-i
Folder or File
-q
Secure Password as input
dotnet-encrypto tool
- Install tool
dotnet tool install --global dotnet-encrypto
- Uninstall tool
dotnet tool uninstall --global dotnet-encrypto
Using tool
dotnet-encrypto --help
Usage:
dotnet-encrypto decrypt --help
Encyption
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 dotnet-encrypto.dll 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"
Decryption
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
Decrypt Text:
dotnet-encrypto decrypt -t ""P/A6VZEaRHCB8WV9S5m58g==" -q
password as command line parameter
dotnet-encrypto decrypt -t "P/A6VZEaRHCB8WV9S5m58g==" -p "123"
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
This package has no dependencies.