例如,計算基點G的k倍點即求 (x1,y1)=[k]G
java代碼如下:
ECPoint Q = (new FixedPointCombMultiplier()).multiply(G, k);
Q = Q.normalize();
ECFieldElement x1 = Q.getAffineXCoord();
ECFieldElement y1 = Q.getAffineYCoord();
例如,計算基點G的k倍點即求 (x1,y1)=[k]G
java代碼如下:
ECPoint Q = (new FixedPointCombMultiplier()).multiply(G, k);
Q = Q.normalize();
ECFieldElement x1 = Q.getAffineXCoord();
ECFieldElement y1 = Q.getAffineYCoord();