Java中的BigInteger类?
我不了解Java中的BigInteger类。你能帮助我吗,,, 公开的 公共BigInteger(整数位长度、整数确定性、随机rnd) bitLength参数是他如何解释的 谢谢这将创建指定长度的随机Java中的BigInteger类?,java,Java,我不了解Java中的BigInteger类。你能帮助我吗,,, 公开的 公共BigInteger(整数位长度、整数确定性、随机rnd) bitLength参数是他如何解释的 谢谢这将创建指定长度的随机biginger bitLength - bitLength of the returned BigInteger. certainty - a measure of the uncertainty that the caller is willing to tolerate.
biginger
bitLength - bitLength of the returned BigInteger.
certainty - a measure of the uncertainty that the caller is willing to tolerate.
The probability that the new BigInteger represents a prime number will
exceed (1 - 1/2certainty). The execution time of this constructor is
proportional to the value of this parameter.
rnd - source of random bits used to select candidates to be tested for primality.