private static BigInteger[] DoKeyExchange()
        {
            ECCDomain domain = ECCDomain_secp256k1.getInstance();

            eccMod = EllipticCurveCrypto.init(domain, false);
            return(eccMod.DoVerifyKeyExchange());
        }
Exemplo n.º 2
0
 /** 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));
 }
Exemplo n.º 3
0
 private EllipticCurveCrypto(ECCDomain d, bool debugMode)
 {
     domain     = d;
     DEBUG_MODE = debugMode;
 }