> ## Documentation Index
> Fetch the complete documentation index at: https://turnkey-0e7c1f5b-bc-add-sdk-typedoc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# HpkeDecrypt

# Function: hpkeDecrypt()

> **hpkeDecrypt**(`params`): `Uint8Array`

Defined in: [crypto.ts:224](https://github.com/tkhq/sdk/blob/ee72856c3f450731d7501ab05001215768b71500/packages/crypto/src/crypto.ts#L224)

HPKE Decrypt Function
Decrypts data using Hybrid Public Key Encryption (HPKE) standard [https://datatracker.ietf.org/doc/rfc9180/](https://datatracker.ietf.org/doc/rfc9180/).

## Parameters

### params

`HpkeDecryptParams`

The decryption parameters including ciphertext, encapsulated key, and receiver private key.

## Returns

`Uint8Array`

* The decrypted data.
