The rsa encryption-padding command configures a padding mode for RSA encryption.
The undo rsa encryption-padding command restores the default padding mode for RSA encryption.
By default, the padding mode of RSA encryption is OAEP.
| Parameter | Description | Value |
|---|---|---|
oaep |
Set the padding mode of RSA encryption to Optimal Asymmetric Encryption Padding (OAEP). |
- |
pkcs1 |
Sets the padding mode of RSA encryption to Public-Key Cryptography Standards 1 (PKCS1). |
- |
On an IPSec-enabled network, identity authentication can be performed using an RSA digital envelope. When the padding mode of RSA encryption is set to PKCS1, there are security risks. To improve network security, run the rsa encryption-padding command to set the padding mode of RSA encryption to OAEP.