private static BigInteger[] DoKeyExchange() { ECCDomain domain = ECCDomain_secp256k1.getInstance(); eccMod = EllipticCurveCrypto.init(domain, false); return(eccMod.DoVerifyKeyExchange()); }
/** Initialize by specifying the domain of the elliptic curve to use */ public static EllipticCurveCrypto init(ECCDomain d, bool debugMode = true) { return(new EllipticCurveCrypto(d, debugMode)); }
private EllipticCurveCrypto(ECCDomain d, bool debugMode) { domain = d; DEBUG_MODE = debugMode; }