summaryrefslogtreecommitdiff
path: root/node_modules/blake3-wasm/dist/browser/hash.d.ts
blob: 6487771755ba014a52333bc5413d28a10d5f67c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
import { BrowserEncoding } from './encoding';
/**
 * Hash returned from functions in the browser.
 */
export declare class Hash extends Uint8Array {
    /**
     * A constant-time comparison against the other hash/array.
     */
    equals(other: unknown): boolean;
    toString(encoding?: BrowserEncoding): string;
}