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

