Generating exactly prime number with Java
Hi, I'm aware of the function BigInteger.probablePrime(int bitLength, Random rnd) that outputs probably prime number of any bit length. I want a REAL prime number in Java. Is there any FOSS library to do so with acceptable performance? Thanks in advance! EDIT: I'm looking at 1024 & 2048 bit primes. ...