blake3
Version:
BLAKE3 hashing for JavaScript: native Node bindings (where available) and WebAssembly
12 lines (11 loc) • 318 B
TypeScript
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;
}