tweakPublicKey static method
Implementation
static ProjectiveECCPoint tweakPublicKey(ProjectiveECCPoint pubPoint,
{List<dynamic>? script}) {
final h = calculateTweek(pubPoint, script: script);
final n = Curves.generatorSecp256k1 * BigintUtils.fromBytes(h);
final outPoint = liftX(pubPoint) + n;
return outPoint as ProjectiveECCPoint;
}