diff options
Diffstat (limited to 'core/src/main/java/org/bouncycastle/crypto/prng/EntropySource.java')
-rw-r--r-- | core/src/main/java/org/bouncycastle/crypto/prng/EntropySource.java | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/prng/EntropySource.java b/core/src/main/java/org/bouncycastle/crypto/prng/EntropySource.java deleted file mode 100644 index 53bc549d..00000000 --- a/core/src/main/java/org/bouncycastle/crypto/prng/EntropySource.java +++ /dev/null @@ -1,25 +0,0 @@ -package org.bouncycastle.crypto.prng; - -public interface EntropySource -{ - /** - * Return whether or not this entropy source is regarded as prediction resistant. - * - * @return true if it is, false otherwise. - */ - boolean isPredictionResistant(); - - /** - * Return a byte array of entropy. - * - * @return entropy bytes. - */ - byte[] getEntropy(); - - /** - * Return the number of bits of entropy this source can produce. - * - * @return size in bits of the return value of getEntropy. - */ - int entropySize(); -} |