method PublicSecp256r1.encryptChaCha20
PublicSecp256r1.encryptChaCha20(
payload: Uint8Array,
recipients: PublicSecp256r1[],
): JWE

Encrypt the provided payload for the provided recipient array using XC20P algorithm.

Parameters

payload: Uint8Array
recipients: PublicSecp256r1[]

Return Type