- aesEncrypt(
data: Uint8Array<ArrayBufferLike>,
key: CryptoKey | Uint8Array<ArrayBufferLike>,
iv?: Uint8Array<ArrayBufferLike>,
): Promise<Uint8Array> Parameters
- data: Uint8Array<ArrayBufferLike>
- key: CryptoKey | Uint8Array<ArrayBufferLike>
Optional
iv: Uint8Array<ArrayBufferLike>
Returns Promise<Uint8Array>