Extends
BaseCryptoClass
Constructors
new EncryptionContext()
new EncryptionContext(): EncryptionContextReturns
EncryptionContextMethods
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).

