MCPcopy Create free account
hub / github.com/denoland/std / digest

Method digest

crypto/crypto.ts:170–170  ·  view source on GitHub ↗

* Returns a new `Promise` object that will digest `data` using the specified * `AlgorithmIdentifier`.

(
    algorithm: DigestAlgorithm,
    data: BufferSource | AsyncIterable<BufferSource> | Iterable<BufferSource>,
  )

Source from the content-addressed store, hash-verified

168 * `AlgorithmIdentifier`.
169 */
170 digest(
171 algorithm: DigestAlgorithm,
172 data: BufferSource | AsyncIterable<BufferSource> | Iterable<BufferSource>,
173 ): Promise<ArrayBuffer>;

Callers 10

digestFunction · 0.65
crypto_test.tsFile · 0.65
test.tsFile · 0.65
digestFunction · 0.65
digest_and_dropMethod · 0.65
fnFunction · 0.65
calcEntityFunction · 0.65
calcFileInfoFunction · 0.65
generateFunction · 0.65
generateFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected