public final class DefaultSeedGenerator extends Object implements SeedGenerator
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 DefaultSeedGenerator |
getInstance() |
public static DefaultSeedGenerator getInstance()
public byte[] generateSeed(int length)
generateSeed
in interface SeedGenerator
length
- The length (in bytes) of the seed.Copyright © 2015. All rights reserved.