@polkadot/util-crypto
Version:
A collection of useful crypto utilities for @polkadot
4 lines (3 loc) • 298 B
TypeScript
import type { HexString } from '@polkadot/util/types';
import type { VerifyResult } from '../types.js';
export declare function signatureVerify(message: HexString | Uint8Array | string, signature: HexString | Uint8Array | string, addressOrPublicKey: HexString | Uint8Array | string): VerifyResult;