Пример #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);
		}