as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

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: Oct 02, 2025