public class SecureRandom extends Random
| Constructor and Description |
|---|
SecureRandom()
Constructs a secure random number generator (RNG) implementing the default random number algorithm.
|
public SecureRandom()
The returned SecureRandom object has not been seeded. To seed the returned object, call the setSeed
method. If setSeed is not called, the first call to nextBytes will force the SecureRandom object
to seed itself. This self-seeding will not occur if setSeed was previously called.