FileDocCategorySizeDatePackage
RandomPrimeSearch.javaAPI DocExample491Tue May 04 14:07:06 BST 2004com.oreilly.tiger.ch10

RandomPrimeSearch

public class RandomPrimeSearch extends Object implements Callable

Fields Summary
private static final Random
prng
private int
bitSize
Constructors Summary
public RandomPrimeSearch(int bitSize)

 
     
    this.bitSize = bitSize;
  
Methods Summary
public java.math.BigIntegercall()

    return BigInteger.probablePrime(bitSize, prng);