Arc4u.Encryptor 1.0.0-preview01

Prefix Reserved
This is a prerelease version of Arc4u.Encryptor.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet tool install --global Arc4u.Encryptor --version 1.0.0-preview01                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local Arc4u.Encryptor --version 1.0.0-preview01                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Arc4u.Encryptor&version=1.0.0-preview01&prerelease                
nuke :add-package Arc4u.Encryptor --version 1.0.0-preview01                

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 default value is "My"
  • -s or --store: the 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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