> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://mezmo.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://mezmo.ferndocs.com/_mcp/server.

# Decrypt Field Processor

## [Description](https://docs.mezmo.com/docs/decrypt-field-pipeline-processor#description)

This processor decrypts a single encrypted string using a defined secret as well as a specified Initialization Vector (IV) field.

## [Use](https://docs.mezmo.com/docs/decrypt-field-pipeline-processor#use)

Typically you would use the Decrypt processor to remove the encryption applied by the Encrypt processor.

## [Configuration](https://docs.mezmo.com/docs/decrypt-field-pipeline-processor#configuration)

The Decrypt processor uses the same configuration options as the Encrypt processor.

| **Option**                           | **Description**                                                                                                                              | **Example**                                        |
| ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| **Field**                            | The field you want to decrypt.                                                                                                               | `.foo`                                             |
| **Encryption algorithm**             | The encryption algorithm to apply. These options also determine how many characters to use for the encryption key and initialization vector. | `AES-256-CFB (key=32 characters, iv=16characters)` |
| **Encryption key**                   | The key used by the algorithm to encrypt the field.                                                                                          | `6B58703273357638792F423F4528482B`                 |
| **Initialization vector (IV) field** | This value is used by the algorithm as the initialization key.                                                                               | .`encrypt_iv`                                      |

## [Example](https://docs.mezmo.com/docs/decrypt-field-pipeline-processor#example)

### Before

```json
{
  "encrypt_iv": "FmXUb0OPOWm1A2kw6diKYw==",
  "foo": "vFza"
}
```

### Decryption Options

| Option                           | Value                                              |
| -------------------------------- | -------------------------------------------------- |
| Field                            | `.foo`                                             |
| Decryption algorithm             | `AES-256-CFB (key=32 characters, iv=16characters)` |
| Decryption key                   | `6B58703273357638792F423F4528482B`                 |
| Initialization vector (IV) field | `.encrypt_iv`                                      |

### After

```json
{
  "encrypt_iv": "FmXUb0OPOWm1A2kw6diKYw==",
  "foo": "bar"
}
```