publicKeyFor function

ECPoint publicKeyFor(
  1. BigInt d
)

AKA 'point(k)' in the specification

Implementation

ECPoint publicKeyFor(BigInt d) {
  return ECPublicKey(curve.G * d, curve).Q!;
}