FileDocCategorySizeDatePackage
RandomPrimeSearch.javaAPI DocExample462Wed Apr 20 15:12:06 BST 2005None

RandomPrimeSearch

public class RandomPrimeSearch extends Object implements Callable
This is a Callable implementation for computing big primes.

Fields Summary
static Random
prng
int
n
Constructors Summary
public RandomPrimeSearch(int bitsize)

        n = bitsize; 
Methods Summary
public java.math.BigIntegercall()

 return BigInteger.probablePrime(n, prng);