Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
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 modified on October 2, 2025