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

# aesDecryptCTR

> Function aesDecryptCTR in the Baileys API.

> **aesDecryptCTR**(`ciphertext`, `key`, `iv`): `Buffer`\<`ArrayBuffer`>

Defined in: [src/Utils/crypto.ts:80](https://github.com/WhiskeySockets/Baileys/blob/master/src/Utils/crypto.ts#L80)

## Parameters

### ciphertext

`Uint8Array`

### key

`Uint8Array`

### iv

`Uint8Array`

## Returns

`Buffer`\<`ArrayBuffer`>
