Variable getPublicKeyConst
getPublicKey: (privateKey: PrivKey, isCompressed?: boolean) => Uint8Array = secp.getPublicKey
Type declaration
- (privateKey: PrivKey, isCompressed?: boolean): Uint8Array
Parameters
- privateKey: PrivKey
OptionalisCompressed: boolean
Returns Uint8Array
Return the public key for the given private key, to be used for asymmetric encryption.