net.i2p.crypto
Class ECUtil
java.lang.Object
net.i2p.crypto.ECUtil
class ECUtil
- extends Object
Used by KeyGenerator.getSigningPublicKey()
Modified from
http://stackoverflow.com/questions/15727147/scalar-multiplication-of-point-over-elliptic-curve
Apparently public domain.
Supported P-192 only.
Added curve parameters to support all curves.
- Since:
- 0.9.16
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ECUtil
ECUtil()
scalarMult
public static ECPoint scalarMult(ECPoint p,
BigInteger kin,
EllipticCurve curve)