Crypting string tool.
Download here 👉 CryptStr - nuget.org
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.
TripleDES(default)DESAES256
$ 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>
$ 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>