MCPcopy Create free account
hub / github.com/Effect-TS/effect / digest

Method digest

packages/effect/src/Crypto.ts:98–98  ·  view source on GitHub ↗

* Computes a cryptographic digest for the supplied data.

(
    algorithm: DigestAlgorithm,
    data: Uint8Array
  )

Source from the content-addressed store, hash-verified

96 * Computes a cryptographic digest for the supplied data.
97 */
98 digest(
99 algorithm: DigestAlgorithm,
100 data: Uint8Array
101 ): Effect.Effect<Uint8Array, PlatformError.PlatformError>

Callers 15

importFileMethod · 0.80
computeJSDocInputHashFunction · 0.80
hashSourceFunction · 0.80
fingerprintFunction · 0.80
digestFunction · 0.80
digestFunction · 0.80
DenoCrypto.test.tsFile · 0.80
digestFunction · 0.80
NodeCrypto.test.tsFile · 0.80
Crypto.test.tsFile · 0.80
makeEncryptionSubtleFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected