Package org.bouncycastle.crypto
Interface EntropySourceProvider
-
- All Known Implementing Classes:
BasicEntropySourceProvider
,FixedEntropySourceProvider
,TestRandomEntropySourceProvider
public interface EntropySourceProvider
Base interface describing a provider of entropy sources.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EntropySource
get(int bitsRequired)
Return an entropy source providing block of entropy.
-
-
-
Method Detail
-
get
EntropySource get(int bitsRequired)
Return an entropy source providing block of entropy.- Parameters:
bitsRequired
- the size of the block of entropy required.- Returns:
- an entropy source providing bitsRequired blocks of entropy.
-
-