CryptStr 2.2.1
dotnet tool install --global CryptStr --version 2.2.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local CryptStr --version 2.2.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=CryptStr&version=2.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package CryptStr --version 2.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
cryptstr
Crypting string tool.
Download here 👉 CryptStr - nuget.org
How to use
Generate Key File
First, you have to generate config file.
$ cryptstr gen
$ cryptstr gen -a <algorithms>
Then, config file (named cryptstr.json) has generated.
Config file contents like that.👇
{"Key":"<Base64String>","IV":"<Base64String>"}
I recommend you might register to environment variable.
That would be easier to use this command.
Supported Algorithms
AES256(default)TripleDESDES
Encrypt String Value
$ cryptstr enc <plain_string_value> -k <key_of_config_file> -v <iv_of_config_file>
$ cryptstr enc <plain_string_value> -k <key_of_config_file> -v <iv_of_config_file> -a <algorithms>
Decrypt String Value
$ cryptstr dec <encrypted_string_value> -k <key_of_config_file> -v <iv_of_config_file>
$ cryptstr dec <encrypted_string_value> -k <key_of_config_file> -v <iv_of_config_file> -a <algorithms>
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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.