EncryptionContext
Represents an encryption context. This class provides functionality to perform encryption operations.
Extends
BaseCryptoClass
Constructors
new EncryptionContext()
new EncryptionContext(): EncryptionContext
Returns
Methods
encrypt()
encrypt(plaintext:
ArrayBuffer):Promise<ArrayBuffer>
Encrypt the provided plaintext data..
Parameters
plaintext
ArrayBuffer
The data to be encrypted.
Throws
- If the encryption operation fails.
Returns
Promise<ArrayBuffer>
Promise A promise that resolves to the encrypted data (ciphertext).
Last updated: Jul 22, 2026

