mirror of
https://github.com/tornadocash/fixed-merkle-tree.git
synced 2024-11-24 19:02:01 +01:00
11 lines
338 B
TypeScript
11 lines
338 B
TypeScript
|
import { Element } from './index';
|
||
|
/***
|
||
|
* 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;
|