Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
Ring
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

Constructors

new DigestContext()

new DigestContext(): DigestContext

Returns

DigestContext

Methods

digest()

digest(data: ArrayBuffer): Promise<ArrayBuffer>

Computes the cryptographic digest of the provided data.

Parameters

data

ArrayBuffer

The input data to be hashed.

Returns

Promise<ArrayBuffer>

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


Last updated: Jul 22, 2026