@polkadot/util-crypto
Version: 
A collection of useful crypto utilities for @polkadot
7 lines (6 loc) • 313 B
TypeScript
import type { Keypair } from '../types.js';
/**
 * @name sr25519VrfSign
 * @description Sign with sr25519 vrf signing (deterministic)
 */
export declare function sr25519VrfSign(message: string | Uint8Array, { secretKey }: Partial<Keypair>, context?: string | Uint8Array, extra?: string | Uint8Array): Uint8Array;