privateKeyIntToPublicKey static method
Implementation
static Uint8List privateKeyIntToPublicKey(BigInt prvInt) {
var curve = ECCurve_secp256r1();
var q = curve.G * prvInt;
var pubKey = ECPublicKey(q, curve);
var pubKeyBytes = pubKey.Q!.getEncoded(false);
return pubKeyBytes;
}