Derive the HD public node of an HD private node.
Though private keys cannot be derived from HD public keys, sharing HD public keys still carries risk. Along with allowing an attacker to associate wallet addresses together (breaking privacy), should an attacker gain knowledge of a single child private key, it's possible to derive all parent HD private keys. See crackHdPrivateNodeFromHdPublicNodeAndChildPrivateNode for details.
a valid HD private node
an optional object containing an implementation of secp256k1 compressed public key derivation to use
Generated using TypeDoc