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

Method digestSync

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

* Returns a ArrayBuffer with the result of digesting `data` using the * specified `AlgorithmIdentifier`.

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

Source from the content-addressed store, hash-verified

177 * specified `AlgorithmIdentifier`.
178 */
179 digestSync(
180 algorithm: DigestAlgorithm,
181 data: BufferSource | Iterable<BufferSource>,
182 ): ArrayBuffer;

Callers 4

digestFunction · 0.80
crypto_test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected