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) 308 B
export interface ISignerKeyPairs { privateKey: Uint8Array; publicKey: Uint8Array; } export declare class Secp256k1Keys { /** * Generate random private and public secp256k1 key in Buffer format * @return Generated key pair */ static generateKeyPairsBuffer(): ISignerKeyPairs; }