Encrypt

Encrypt

Logic name

Encrypt (Document Mapper/Variable Mapper/Merge Mapper)

Function

This logic encrypts the input string.

Data types

Location

Type

First input handler

String

Second input handler

String

Logic output

String

= Hint =

Refer to the following for details:

Properties

Category

Property

Description

Null processing

Null option

Specify how to handle the input if it contains null.

Comment

Comment

You can write a description of the logic. It doesn't affect the conversion process.

Null option

Option

Description

Output null if first input handler is null

Outputs null if the value of the first input handler is null.

Throw exception when unable to determine/calculate/process

Throws an exception (CalculationException) and stops the processing when the system is unable to determine/calculate/process.

= Hint =

Refer to the following for details:

Function details

This logic encrypts the value of the first input handler with the value of the second input handler as a key and outputs the encrypted value.

The encrypted data can be decrypted by using the Decrypt logic.

Notes

  • Null option is applied only to the first input handler which serves as input data.

  • Exception is thrown when the value of the second input handler which serves as the encryption key is null.

Logic sample

Mapping definition

Encrypt

Logic settings and processing result

The logic encrypts the input data and outputs encrypted value.

Property settings

Property

Setting

Null option

Output null if first input handler is null

Input data

Data,vaFD23$

SampleData,b#%9fDv

123456789,Po8'&i(

Output data

BO8iiUy0bR7zTLrMUZIjIIi6bqqpNv6jFwCAIbzLjFs=

EKOUC4WYasoixMeaFx7baSUbcyuHoy/CzUYlMI9E7QY=

fmRh9R6Jni6kqZrs3RBhKOSHJgeJdMnsbZnq2uSgjJ0=

 

= Hint =

For a list of logics, refer to Mapper Logic Guide.