tarlatan
    Preparing search index...

    A running digest; feed it with Hash.update, then read it once with Hash.digest.

    interface Hash {
        digest(): Uint8Array;
        digest(encoding: "hex"): string;
        update(data: string | Uint8Array<ArrayBufferLike>): Hash;
    }
    Index
    • Adds data to the digest: bytes as they are, a string as its UTF-8 bytes. Returns the same digest.

      Parameters

      • data: string | Uint8Array<ArrayBufferLike>

      Returns Hash