Uses of Class
Provides classes for performing arbitrary-precision integer arithmetic (
BigInteger) and arbitrary-precision decimal arithmetic (
Provides the classes and interfaces for the security framework.
Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.
Utility classes commonly useful in concurrent programming.
Modifier and TypeMethodDescription
static BigIntegerReturns a positive BigInteger that is probably prime, with the specified bitLength.ModifierConstructorDescriptionConstructs a randomly generated positive BigInteger that is probably prime, with the specified bitLength.Constructs a randomly generated BigInteger, uniformly distributed over the range 0 to (2
numBits- 1), inclusive.
Uses of Random in java.securityModifier and TypeClassDescription
classThis class provides a cryptographically strong random number generator (RNG).
Uses of Random in java.util.concurrentModifier and TypeClassDescription
classA random number generator (with period 264) isolated to the current thread.