> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reelevant.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AES Decrypt

> Decrypt AES encrypted data

## Overview

The `aes-decrypt` transformation decrypts AES encrypted data using a Base64-encoded key.

## Syntax

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
aes-decrypt(<variable>, key="")
```

## Parameters

| Parameter  | Type   | Required | Description                       |
| ---------- | ------ | -------- | --------------------------------- |
| `variable` | string | Yes      | The encrypted data to decrypt     |
| `key`      | string | Yes      | The Base64-encoded decryption key |

## Examples

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
aes-decrypt(<variable>, key="your-base64-key")
```

<Warning>
  Ensure that the key used for decryption matches the key used for encryption.
</Warning>
