Function: hpkeDecrypt()

hpkeDecrypt(params): Uint8Array

Defined in: crypto.ts:224

HPKE Decrypt Function Decrypts data using Hybrid Public Key Encryption (HPKE) standard 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.

Function: hpkeDecrypt()

hpkeDecrypt(params): Uint8Array

Defined in: crypto.ts:224

HPKE Decrypt Function Decrypts data using Hybrid Public Key Encryption (HPKE) standard 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.