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