Overview
This node performs encryption or decryption on values within a JSON object. It is useful for securely handling sensitive data by encrypting it before storage or transmission, and decrypting it when needed for processing or display. For example, it can encrypt user credentials or decrypt received encrypted data in workflows.
Use Case Examples
- Encrypt all values in a user profile object before saving to a database.
- Decrypt encrypted API response data for further processing.
Properties
| Name | Meaning |
|---|---|
| Input Data | The JSON object containing data to encrypt or decrypt. |
| Skip Fields | Comma-separated list of field names to exclude from encryption or decryption. |
Output
JSON
json- The processed JSON object with encrypted or decrypted values.
Dependencies
- Requires an API key credential containing a 32-character secret key for AES-256 encryption/decryption.
Troubleshooting
- Error if the secret key is not exactly 32 characters long; ensure the key length is correct.
- Encryption or decryption failures may occur if input data is not a valid JSON object or contains unsupported types.
- Decryption returns the original value if the input is not properly encrypted or corrupted.