MCPcopy Create free account
hub / github.com/effect-app/libs / digest

Method digest

repos/effect/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 */
97 digest(
98 algorithm: DigestAlgorithm,
99 data: Uint8Array
100 ): Effect.Effect<Uint8Array, PlatformError.PlatformError>
101

Callers 12

makeETagFunction · 0.80
digestFunction · 0.80
computeJSDocInputHashFunction · 0.80
hashSourceFunction · 0.80
hashFunction · 0.80
digestFunction · 0.80
NodeCrypto.test.tsFile · 0.80
Crypto.test.tsFile · 0.80
makeEncryptionSubtleFunction · 0.80
makeHashDigestFunction · 0.80

Calls

no outgoing calls

Tested by 1

hashFunction · 0.64