Package net.i2p.crypto
Class ECUtil
java.lang.Object
net.i2p.crypto.ECUtil
final 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
-
Constructor Summary
Constructors Constructor Description ECUtil()
-
Method Summary
Modifier and Type Method Description static ECPoint
scalarMult(ECPoint p, BigInteger kin, EllipticCurve curve)
-
Constructor Details
-
ECUtil
ECUtil()
-
-
Method Details