UNPKG

@stricahq/bip32ed25519

Version:

Pure javascript implementation of Bip32Ed25519, used for Cardano blockchain key pair.

17 lines (16 loc) 446 B
export = KeyPair; declare function KeyPair(eddsa: any, params: any): void; declare class KeyPair { constructor(eddsa: any, params: any); eddsa: any; _secret: any; _pub: any; _pubBytes: any; secret(): any; sign(message: any): any; verify(message: any, sig: any): any; } declare namespace KeyPair { function fromPublic(eddsa: any, pub: any): KeyPair; function fromSecret(eddsa: any, secret: any): KeyPair; }