as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support

DigestContext

Represents a context for computing cryptographic digests (hashes). This class provides functionality for generating fixed-size digests of arbitrary data.

Extends

  • BaseCryptoClass

Methods

digest()

digest(data): Promise<ArrayBuffer>

Computes the cryptographic digest of the provided data.

Parameters

data

ArrayBuffer

The input data to be hashed.

Returns

Promise<ArrayBuffer>

A promise that resolves to the computed digest as an ArrayBuffer.


Last updated: Sep 30, 2025