highwayhasher
Version:
HighwayHash implementation for both node and browsers
7 lines (6 loc) • 343 B
TypeScript
import type { HashCreator, HighwayLoadOptions, IHash } from "./model.js";
export declare class NativeHighwayHash {
static loadModule(_options?: Partial<HighwayLoadOptions>): Promise<HashCreator>;
static load(key?: Uint8Array | null | undefined, options?: Partial<HighwayLoadOptions>): Promise<IHash>;
static resetModule(): void;
}