fixed-merkle-tree/lib/simpleHash.d.ts

11 lines
333 B
TypeScript
Raw Normal View History

2022-03-24 15:41:06 +01:00
import { Element } from './';
2022-03-14 10:42:36 +01:00
/***
* This is insecure hash function, just for example only
* @param data
* @param seed
* @param hashLength
*/
export declare function simpleHash<T>(data: T[], seed?: number, hashLength?: number): string;
declare const _default: (left: Element, right: Element) => string;
export default _default;