UNPKG

@hyperledger/cactus-common

Version:

Universal library used by both front end and back end components of Cactus. Aims to be a developer swiss army knife.

12 lines (11 loc) 302 B
export interface ISignerKeyPair { privateKey: Buffer; publicKey: Uint8Array; } export declare class Secp256k1Keys { /** * Generate random private and public secp256k1 key in Buffer format * @return Generated key pair */ static generateKeyPairsBuffer(): ISignerKeyPair; }