Cryptography, Cryptocurrency, Go, Mathematics, Security.
coordinate: rx = s^2 — 2 * px Finally the y coordinate: ry = s * ( px — rx ) — py Ok, now we simplify: s = ( 3 * px^2 + a ) * ( 2 * py )^-1 rx = s^2 - 2 * px ry = s * (px - rx ) - py One example: // Square px, multiply it by 3 // Multiply px by 2 xx := new(big.Int).Exp(Px, big.NewInt(2), nil)