예제 #1
0
		public static BigInteger genPseudoPrime(int bits, ConfidenceFactor cf) {
			SequentialSearchPrimeGeneratorBase sspg = new SequentialSearchPrimeGeneratorBase();
			sspg.Confidence = cf;
			return sspg.GenerateNewPrime(bits);
		}
예제 #2
0
		public static BigInteger genPseudoPrime(int bits) {
			SequentialSearchPrimeGeneratorBase sspg = new SequentialSearchPrimeGeneratorBase();
			return sspg.GenerateNewPrime(bits);
		}