private BigInteger GeneratePrimeNumber() { BigInteger number; do { number = random.Next(100, 500); } while (!GCD.IsSimple(number)); return(number); }
private BigInteger GeneratePrimeNumber() { BigInteger number = random.Next(4, 1000); while (!GCD.IsSimple(number)) { number = random.Next(4, 1000); } return(number); }