File
Doc
Category
Size
Date
Package
RandomPrimeSearch.java
API Doc
Example
462
Wed Apr 20 15:12:06 BST 2005
None
RandomPrimeSearch
java.lang.Object
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.BigInteger
call
()
return BigInteger.probablePrime(n, prng);
Java Code Source