Generating exactly prime number with Java

Posted by Viet on Stack Overflow See other posts from Stack Overflow or by Viet
Published on 2010-05-21T12:49:57Z Indexed on 2010/05/21 13:00 UTC
Read the original article Hit count: 331

Filed under:
|
|
|
|

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!

© Stack Overflow or respective owner

Related posts about java

Related posts about biginteger