Rate This Document
Findability
Accuracy
Completeness
Readability

encrypt

Function

Outputs a ciphertext character string after you input a plaintext character string.

Syntax

./kmc_tool domainID --encrypt

Parameter Description

Parameter

Description

domainID

Domain ID.

Domain IDs are divided into different domains to facilitate key management: keypass 0, whitelist 1, keytab_server 2 and keytab_client 3.

Usage Guideline

You are advised to disable history recording before generating an encrypted password. You can enable this function after the password is generated.

Example

set +o history
./kmc_tool 0 --encrypt
set -o history