Skip to main content

Documentation Index

Fetch the complete documentation index at: https://turnkey-0e7c1f5b-bc-add-sdk-typedoc.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Function: hpkeEncrypt()

hpkeEncrypt(params): Uint8Array
Defined in: crypto.ts:71 HPKE Encrypt Function Encrypts data using Hybrid Public Key Encryption (HPKE) standard https://datatracker.ietf.org/doc/rfc9180/.

Parameters

params

HpkeEncryptParams The encryption parameters including plain text, encapsulated key, and sender private key.

Returns

Uint8Array
  • The encrypted data.