elliptic
elliptic copied to clipboard
Public addresses
Hi,
var keyPair = ec.keyFromPrivate(k);
var priv = keyPair.getPrivate("hex");
var pubKey = keyPair.getPublic();
var p = pubKey.encodeCompressed("hex");
How do I get the public addresses (comp and uncomp) or RMD160 from this? Thanks in advance