Parameters for encrypting data.

interface EncryptParams {
    data: Uint8Array;
    key: Jwk;
}

Properties

Properties

data: Uint8Array

Data to be encrypted.

key: Jwk

A Jwk containing the key to be used for encryption.