AES Decrypt
AI-generatedSummary
Decrypts AES-CBC ciphertext for each input item using the selected algorithm, key, and IV. Parses the plaintext as JSON by default, or returns it as an encoded string in a data field.
Inputs
- Algorithm — AES-CBC algorithm: aes-128-cbc, aes-192-cbc, or aes-256-cbc. The decoded key must be 16, 24, or 32 bytes respectively.
- Data (ciphertext) (required) — Ciphertext string to decrypt; supports expressions such as
{{$json.body.data}}. - Input Encoding — Encoding used to decode the ciphertext: base64 (default), base64url, hex, or utf8.
- Key (required) — AES key string; supports expressions such as
{{$json.aes_key}}. - Key Encoding — Encoding used to decode the key: base64 (default), base64url, hex, or utf8.
- IV (required) — Initialization vector string; supports expressions such as
{{$json.aes_iv}}. - IV Encoding — Encoding used to decode the IV: base64 (default), base64url, hex, or utf8.
- Parse Plaintext as JSON — Enabled by default. Parses decrypted UTF-8 text as JSON. Object results become the output fields directly; arrays and primitive values are wrapped in `{ "data": value }.
- Output Encoding — When JSON parsing is disabled, converts plaintext to utf8 (default), base64, or hex and returns it in a
datafield.
Output shape
One output item per input item, with decrypted content in its json object.
With JSON parsing enabled, a JSON object is returned directly and arrays or primitives are wrapped in
data. With parsing disabled, output is{ "data": plaintext }in the selected encoding. Empty data or key, invalid ciphertext, key/IV parameters, or invalid JSON can cause an error; with Continue On Fail enabled, the item instead contains{ "error": message }.