* Computes a cryptographic hash (digest) of the given data. * * This method is commonly used for verifying data integrity. * * @example * ```ts * // Compute the digest of given data using a cryptographic algorithm * await crypto.subtle.digest("SHA-256", data); * ``` * *
(
algorithm: AlgorithmIdentifier,
data: BufferSource,
)
| 12692 | * @see https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/digest |
| 12693 | */ |
| 12694 | digest( |
| 12695 | algorithm: AlgorithmIdentifier, |
| 12696 | data: BufferSource, |
| 12697 | ): Promise<ArrayBuffer>; |
no outgoing calls
no test coverage detected