Algorithm used by BigInteger prime generator?

Alexandre Oliva oliva at
Thu Apr 22 12:25:33 PDT 1999

On Apr 22, 1999, "John Keiser" <John.Keiser at> wrote:

> Incidentally, as long as this method creates random BigIntegers, why does it
> matter what algorithm is used?

Given my Random generator, initialized with the same seed, I should be 
able to generate the same sequence of prime BigIntegers on any Java
platform, otherwise WORA falls apart.  That's why the standard Random
class is clearly specified, and that's why the algorithm for random
big prime generation should too.

Alexandre Oliva IC-Unicamp, Brasil
{oliva,Alexandre.Oliva}  aoliva@{,}
*** E-mail about software projects will be forwarded to mailing lists

More information about the kaffe mailing list