Documentation
    Preparing search index...

    Type Alias DigestLike

    DigestLike: (data: ArrayBuffer) => Promise<string> | string

    The hash seam: bytes in, an opaque hash string out.

    May be async (crypto.subtle is) or sync (a test's fake, a WASM hasher). The manager never parses the result — see the module comment on why the built-in format still names its algorithm.

    Type Declaration

      • (data: ArrayBuffer): Promise<string> | string
      • Parameters

        • data: ArrayBuffer

        Returns Promise<string> | string