Arc4u.Encryptor
1.0.0-preview02
Prefix Reserved
dotnet tool install --global Arc4u.Encryptor --version 1.0.0-preview02
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Arc4u.Encryptor --version 1.0.0-preview02
#tool dotnet:?package=Arc4u.Encryptor&version=1.0.0-preview02&prerelease
nuke :add-package Arc4u.Encryptor --version 1.0.0-preview02
Arc4u.Encryptor
This dotnet tool project ease the encryption of string or file based on the Arc4u framework so the cypher text can be decrypted by code using Arc4u.
Usages
The user can encrypt and decrypt, the option -d is there to inform the operation will be a decryption, default is encryption.
1. Certificate store (windows) or keychain (linux).
The command will use the following default values.
- -c or --certificate: friendly name of the certificate.
- -n or --name: the certificate store name, default value is "My"
- -l or --location: the certificate store location, defaut value is "Current User".
- -t or --text: the text to encrypt or decrypt.
- -f or --file: path file to encrypt.
- -o or --output: output file path to store the result.
Text and file cannot be used together!
arc4u.encryptor -c devCertName -t "clear text"
Will encrypt the text "clear text" by using the certificate having a friendly name devCertName and the result will be displayed on the terminal window.
arc4u.encryptor -c devCertName -f "C:\temp\file.txt" Will encrypt the content of the text in the file C:\temp\file.txt by using the certificate having a friendly name devCertName and the result will be displayed on the terminal window.
2. Using a pfx certificate file name
The command will use the following default values.
- -c or --certificate: The full path name of the certificate ending by the extension pfx.
- -p or --password: The certificate password.
- -t or --text: the text to encrypt or decrypt.
- -f or --file: path file to encrypt.
- -o or --output: output file path to store the result.
Text and file cannot be used together!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
1.0.0-preview02 | 51 | 8/2/2024 |
1.0.0-preview01 | 57 | 7/28/2024 |