UNPKG

@polkadot/util-crypto

Version:
7 lines (6 loc) 276 B
import type { Keypair } from '../types.js'; /** * @name sr25519Sign * @description Returns message signature of `message`, using the supplied pair */ export declare function sr25519Sign(message: string | Uint8Array, { publicKey, secretKey }: Partial<Keypair>): Uint8Array;