UNPKG

@polkadot/util-crypto

Version:
7 lines (6 loc) 313 B
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;