privateKeyToPublicKey
Callable
Parameters
privateKey: Bytes
String or Uint8Array of 32 bytes
isCompressed: boolean
if true, will generate a 33 byte compressed public key instead of a 65 byte public key
Returns string
The public key
String or Uint8Array of 32 bytes
if true, will generate a 33 byte compressed public key instead of a 65 byte public key
The public key
Get the public key from a private key