Help Center/ ROMA Connect/ User Guide(new)/ Processors/ Asymmetric Encrypt/Decrypt
Updated on 2023-12-28 GMT+08:00

Asymmetric Encrypt/Decrypt

The asymmetric encrypt/decrypt processor is used to encrypt plaintext and decrypt ciphertext by using the specified asymmetric encryption algorithm.

Configuration Parameters

Parameter

Description

Private Key

Base64-encoded, mandatory for decryption.

Public Key

Base64-encoded, mandatory for encryption.

Operation

Asymmetric encryption or decryption.

Encryption Algorithm

Currently, only RSA is supported.

Plaintext

Mandatory when Operation is set to Asymmetric Encrypt.

Plaintext to be encrypted.

Ciphertext

Mandatory when Operation is set to Asymmetric Decrypt.

Base64-encoded ciphertext to be decrypted.

Padding Mode

Plaintext padding mode. Currently, only RSA_PKCS1_OAEP_PADDING is supported.

OAEP Hash Algorithm

Mandatory when Padding Mode is set to RSA_PKCS1_OAEP_PADDING.

Options are SHA256 and SHA384.