highwayhash
Version:
Node.js implementation of HighwayHash, Google's fast and strong hash function
10 lines (5 loc) • 324 B
TypeScript
export function asString(key: Buffer, input: Buffer): string;
export function asHexString(key: Buffer, input: Buffer): string;
export function asBuffer(key: Buffer, input: Buffer): Buffer;
export function asUInt32Low(key: Buffer, input: Buffer): number;
export function asUInt32High(key: Buffer, input: Buffer): number;