Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Command «crypto» is used to encrypt int data or file using base64 encoding. For security reasons, only files can be decrypted. Command has two syntaxes, for encrypting/decrypting files and encrypting input data. Here are these syntaxes.

File encrypting\decrypting

Syntax

Code Block
cmdmgr.exe crypto --action=<encrypt|decrypt> --input="<input file>" --output="<output file>"

Parameters

Here command has such parameters:

  • action – encrypt or decrypt using base64 action for specified files;

  • input – path to input encrypted file, or file that needs to be encrypted;

  • output – path to output decrypted, or encrypted file.

Examples

Encrypt Example

Here is encrypt action example of this command:

Code Block
cmdmgr.exe crypto --action=encrypt --input="toencrypt.txt" --output="todecrypt.txt"

An encrypt file example follows.
Encrypt file exampleImage Modified

The input file value follows.Input file valueImage Removed

Input file valueImage Added

The output file value follows.
Output file valueImage Modified

Decrypt Example

And here is decrypt action example of this command:

Code Block
cmdmgr.exe crypto --action=decrypt --input="todecrypt.txt" --output="decrypted.txt"

A decrypt file example follows.Decrypt file exampleImage Removed

Decrypt file exampleImage Added

The input file value follows.
Input file valueImage Modified

The output file value follows.
Output file valueImage Modified

Input data encrypting

Syntax

Code Block
cmdmgr.exe crypto --action=encrypt --value="<value text>"

Parameters

Here command has such parameters:

  • action – here only one possible action is encrypt, for security reasons;

  • value – here can be any text that is needed to be encrypted using base64 encoding.

Example

An encrypt value example follows.

Code Block
cmdmgr.exe crypto --action=encrypt --value="Helooooooooooo"
Encrypt value exampleImage RemovedEncrypt value exampleImage Added


On this page

Table of Contents
maxLevel2