public class DevRandomSeedGenerator extends Object implements SeedGenerator
SeedException
is thrown.Constructor and Description |
---|
DevRandomSeedGenerator() |
public byte[] generateSeed(int length) throws SeedException
generateSeed
in interface SeedGenerator
length
- The length of the seed to generate (in bytes).SeedException
- If /dev/random does not exist or is
not accessible