|
Bouncy Castle Cryptography Library 1.79 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.bouncycastle.util.test.TestRandomEntropySourceProvider
A class for returning "quick entropy" for testing purposes.
| Constructor Summary | |
TestRandomEntropySourceProvider(boolean isPredictionResistant)
Create a test entropy source provider. |
|
| Method Summary | |
EntropySource |
get(int bitsRequired)
Return an entropy source that will create bitsRequired bits of entropy on each invocation of getEntropy(). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TestRandomEntropySourceProvider(boolean isPredictionResistant)
isPredictionResistant - boolean indicating if the SecureRandom is based on prediction resistant entropy or not (true if it is).| Method Detail |
public EntropySource get(int bitsRequired)
get in interface EntropySourceProviderbitsRequired - size (in bits) of entropy to be created by the provided source.
|
Bouncy Castle Cryptography Library 1.79 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||