crypto password irreversible-algorithm hmac-sha256

Function

The crypto password irreversible-algorithm hmac-sha256 command sets the ciphertext password encryption algorithm to HMAC-SHA256.

The undo crypto password irreversible-algorithm hmac-sha256 command restores the ciphertext password encryption algorithm to scrypt.

The default ciphertext password encryption algorithm is scrypt.

Format

crypto password irreversible-algorithm hmac-sha256

undo crypto password irreversible-algorithm hmac-sha256

Parameters

None

Views

System view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
diagnose write

Usage Guidelines

Usage Scenario

To set the ciphertext password encryption algorithm to HMAC-SHA256, run the crypto password irreversible-algorithm hmac-sha256 command.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Set the ciphertext password encryption algorithm to HMAC-SHA256.
<HUAWEI> system-view
[~HUAWEI] crypto password irreversible-algorithm hmac-sha256
Warning: Setting algorithm to hmac-sha256 will result in the encrypt-algorithm being insecure. Continue? [Y/N]:y
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >