ecPublicKey property
ECPublicKey
get
ecPublicKey
Returns the associated publicKey as an ECPublicKey
instance.
Implementation
ECPublicKey get ecPublicKey {
final secp256k1 = ECCurve_secp256k1();
final point = secp256k1.G;
final curvePoint = point * _ecPrivateKey.d;
return ECPublicKey(curvePoint, ECCurve_secp256k1());
}