public class RandomConfig extends CryptoAlgorithmConfig
| Modifier and Type | Field and Description |
|---|---|
private int |
reseedCount |
algorithmprovider| Constructor and Description |
|---|
RandomConfig(String algorithm)
The constructor.
|
RandomConfig(String algorithm,
int reseedCount)
The constructor.
|
RandomConfig(String algorithm,
int reseedCount,
SecurityProvider provider)
The constructor.
|
RandomConfig(String algorithm,
SecurityProvider provider)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getReseedCount() |
getAlgorithmgetProviderpublic RandomConfig(String algorithm)
algorithm - the hash algorithm.public RandomConfig(String algorithm, int reseedCount)
algorithm - the hash algorithm.reseedCount - the re-seed count.public RandomConfig(String algorithm, SecurityProvider provider)
algorithm - the hash algorithm.provider - the SecurityProvider.public RandomConfig(String algorithm, int reseedCount, SecurityProvider provider)
algorithm - the hash algorithm.reseedCount - the re-seed count.provider - the SecurityProvider.public int getReseedCount()
RandomCreator.nextRandom(int) after which the underlying
SecureRandom is re-seeded (a smaller random number of random seeds are skipped to reduce
predictability even stronger).Copyright © 2001–2019 mmm-Team. All rights reserved.