AES Crypto (AES-256-CBC)

Encrypt/Decrypt multiple fields per item using AES-256-CBC

Overview

This node performs AES-256-CBC encryption or decryption on multiple specified fields within each input item. It supports two profiles (Default and POS) for key and initialization vector configurations. Users can map multiple input fields to output fields for processing in a single item, making it useful for securely handling sensitive data such as personal information or transaction details in workflows.

Use Case Examples

  1. Encrypting user data fields before storing them in a database to ensure data security.
  2. Decrypting encrypted transaction details received from a POS system for further processing.

Properties

Name Meaning
Profile Selects the AES key/IV profile to use for encryption/decryption, either Default or POS.
Fields Defines multiple input/output field mappings to encrypt or decrypt within each item.
If Missing Input Determines behavior when an input field is missing: either write an empty string to the output field or skip writing the output field.

Output

JSON

- Contains the encrypted or decrypted result of the corresponding input field.

Dependencies

  • Requires AES key credentials with keys, IVs, and encoding for Default and POS profiles.

Troubleshooting

  • Error if AES key or IV is missing in credentials; ensure all required fields are filled in the AES key credentials.
  • If input fields specified in 'Fields' are missing in an item, output behavior depends on 'If Missing Input' setting: either empty string or skip output field writing.

Discussion