public final class InternetSeedGenerator
extends java.lang.Object
implements org.uncommons.maths.random.SeedGenerator
Constructor and Description |
---|
InternetSeedGenerator() |
Modifier and Type | Method and Description |
---|---|
byte[] |
generateSeed(int length)
Generates a seed by trying each of the available strategies in
turn until one succeeds.
|
static InternetSeedGenerator |
getInstance() |
public static InternetSeedGenerator getInstance()
public byte[] generateSeed(int length)
generateSeed
in interface org.uncommons.maths.random.SeedGenerator
length
- The length (in bytes) of the seed.