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
                    
if you are setting up this repo
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
                    
nuke :add-package CryptStr --version 2.2.1
                    

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)
  • TripleDES
  • DES

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 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.

Version Downloads Last Updated
2.2.1 133 3/28/2026
2.2.0 131 3/28/2026
2.1.0 95 3/15/2026
2.0.0 85 3/15/2026
1.1.0 785 8/31/2020
1.0.2 709 6/2/2020
1.0.1 721 6/2/2020
1.0.0 739 6/2/2020