MCPcopy Create free account
hub / github.com/TheAlgorithms/Java / ECC

Method ECC

src/main/java/com/thealgorithms/ciphers/ECC.java:25–27  ·  view source on GitHub ↗
(int bits)

Source from the content-addressed store, hash-verified

23 private ECPoint basePoint; // Base point G on the elliptic curve
24
25 public ECC(int bits) {
26 generateKeys(bits); // Generates public-private key pair
27 }
28
29 public EllipticCurve getCurve() {
30 return curve; // Returns the elliptic curve

Callers

nothing calls this directly

Calls 1

generateKeysMethod · 0.95

Tested by

no test coverage detected