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

# derivePairingCodeKey

> Function derivePairingCodeKey in the Baileys API.

> **derivePairingCodeKey**(`pairingCode`, `salt`): `Promise`\<`Buffer`\<`ArrayBufferLike`>>

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

## Parameters

### pairingCode

`string`

### salt

`Buffer`

## Returns

`Promise`\<`Buffer`\<`ArrayBufferLike`>>
