archive-monorepo/@tornado/fixed-merkle-tree/lib/simpleHash.d.ts
T-Hax e676b48b59
fixed-merkle-tree 0.7.3-p0
Signed-off-by: T-Hax <>
2023-05-13 20:52:40 +00:00

11 lines
333 B
TypeScript

import { Element } from './';
/***
* 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;