[This feature is a licensed version feature] Those who require a license can obtain a 30-day license from the [Program Key Issuance] page.

RSA, an asymmetric key algorithm, allows encryption using the other party’s public key, and the recipient can then decrypt the encrypted data using their private key to obtain the plaintext.

Note that ECDSA is an algorithm for digital signatures only and does not support public key encryption.

However, SM2, a Chinese algorithm, does support public key algorithms.

Here, we’ll demonstrate public key encryption using the RSA algorithm. In RSA encryption, the options are V15 and V21 padding.

Simply put, V15 typically uses random padding,

while V21 is a more secure padding scheme that applies OAEP.

Encrypting an RSA Public Key

Click BerEditor -> Password -> Encrypt/Decrypt Public Key.

  1. Select Encrypt.
  2. Enter the source value to be encrypted. 3. Select a certificate or public key for encryption.
  3. Select an encryption method (V15 or OAEP).
  4. Execute encryption.
  5. Obtain the encrypted result.

Decrypt with RSA private key Below

  1. Select Decrypt
  2. Enter the encrypted data
  3. Private key for decryption Select File
  4. Select Encryption Method (V15 or OAEP)
  5. Run Decryption
  6. Table of Decrypted Original Values

Note: To send the encrypted value as an input value after encryption, press the ⬆ button.