@plugnet/util-crypto
Version:
A collection of useful crypto utilities for @plugnet
8 lines (7 loc) • 296 B
TypeScript
import { Keypair } from '../types';
import '../polyfill';
/**
* @name schnorrkelSign
* @description Returns message signature of `message`, using the supplied pair
*/
export default function schnorrkelSign(message: Uint8Array | string, { publicKey, secretKey }: Partial<Keypair>): Uint8Array;