@polkadot/util-crypto
Version:
A collection of useful crypto utilities for @polkadot
7 lines (6 loc) • 408 B
TypeScript
import type { HexString } from '@polkadot/util/types';
/**
* @name sr25519VrfVerify
* @description Verify with sr25519 vrf verification
*/
export declare function sr25519VrfVerify(message: HexString | Uint8Array | string, signOutput: HexString | string | Uint8Array, publicKey: HexString | Uint8Array | string, context?: HexString | string | Uint8Array, extra?: HexString | string | Uint8Array): boolean;