Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2014-05-12 15:29:22 +0400
committerDavid Hook <dgh@cryptoworkshop.com>2014-05-12 15:29:22 +0400
commit0077695edc2d62813e91ef57c080b5634465316b (patch)
treed47bcc28cdbea9f7164c55da6fa396dc42b01bb7 /core/src/main/java/org/bouncycastle
parent3c5d2f379d29a802903cb36b22eb05470cdbb5b9 (diff)
JavaDoc additions
Diffstat (limited to 'core/src/main/java/org/bouncycastle')
-rw-r--r--core/src/main/java/org/bouncycastle/crypto/SkippingCipher.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/SkippingCipher.java b/core/src/main/java/org/bouncycastle/crypto/SkippingCipher.java
index 8f137bd2..bf2595fd 100644
--- a/core/src/main/java/org/bouncycastle/crypto/SkippingCipher.java
+++ b/core/src/main/java/org/bouncycastle/crypto/SkippingCipher.java
@@ -1,16 +1,17 @@
package org.bouncycastle.crypto;
/**
- * Ciphers producing a keystream which can be moved around
+ * Ciphers producing a key stream which can be reset to particular points in the stream.
*/
public interface SkippingCipher
{
/**
- * Skip numberOfBlocks forwards, or backwards. If the cipher is a streamcipher a block
+ * Skip numberOfBlocks forwards, or backwards. If the cipher is a stream cipher a block
* size of 1 is assumed.
*
* @param numberOfBlocks the number of blocks to skip (positive forward, negative backwards).
* @return the number of blocks actually skipped.
+ * @throws java.lang.IllegalArgumentException if numberOfBlocks is an invalid value.
*/
long skip(long numberOfBlocks);
}