Decrypt Block
The decrypt block converts the data encrypted using the RSA and AES algorithms back to its original form. The block retrieves the encrypted data from the input and fetches the required key or password to unlock it. Based on its settings, it identifies the appropriate decryption method, as AES or RSA. Using the key and the selected decryption method, it converts the encrypted data back into its readable form.
Example Scenario
Requirement
A mobile app displays a digital card as a QR code in the customer’s profile. Customers must present this QR code at the store during billing to apply offers and earn loyalty points. However, a static QR code increases the risk of fraudulent activities. To prevent this, the app generates a QR code dynamically upon request. The mobile backend creates an encrypted key using a digital number and timestamp, which the mobile app then converts into a QR code for display.
However, to update loyalty points after a transaction, the system must retrieve the digital number by decrypting the QR code.
Solution
To resolve this issue, create a dataflow with a decrypt block to retrieve the encrypted digital number. Once decrypted, the system can use the digital number to update the loyalty points.
To view the dataflow, make sure you have access to DocDemo org (100737) and access to Neo.
Configuring the Decrypt Block
To configure the Decrypt block:
- From the dataflow canvas, click the connector.
- Select the Decrypt block from the pop-up window.
- In the Block Name field, enter a name for the block.
Block names cannot contain spaces or special characters, except for underscores (_). Use camelCase or snake_case formatting. - In the Decrypt Algorithm field, enter the algorithm used to decrypt the payload.
- In the Payload field, enter the content to be decoded.
- In the Password field, enter the password or key shared during encryption.
- Configure the input execution logic, cachable feature, and execution path as needed.
- Click Done to save the configuration.

Configuring the Decrypt block
Updated 1 day ago