diff options
Diffstat (limited to 'libraries/spongycastle/core/src/main/java/org/spongycastle/crypto/prng/EntropySource.java')
-rw-r--r-- | libraries/spongycastle/core/src/main/java/org/spongycastle/crypto/prng/EntropySource.java | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/libraries/spongycastle/core/src/main/java/org/spongycastle/crypto/prng/EntropySource.java b/libraries/spongycastle/core/src/main/java/org/spongycastle/crypto/prng/EntropySource.java deleted file mode 100644 index 783f375cf..000000000 --- a/libraries/spongycastle/core/src/main/java/org/spongycastle/crypto/prng/EntropySource.java +++ /dev/null @@ -1,25 +0,0 @@ -package org.spongycastle.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(); -} |