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