1 | /// <reference types="node" />
|
2 | import { IKeyPair } from "../interfaces";
|
3 | export declare class Hash {
|
4 | static signECDSA(hash: Buffer, keys: IKeyPair): string;
|
5 | static verifyECDSA(hash: Buffer, signature: Buffer | string, publicKey: Buffer | string): boolean;
|
6 | static signSchnorr(hash: Buffer, keys: IKeyPair): string;
|
7 | static verifySchnorr(hash: Buffer, signature: Buffer | string, publicKey: Buffer | string): boolean;
|
8 | }
|