aboutsummaryrefslogtreecommitdiffstats
path: root/src/stream/arc4/arc4.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream/arc4/arc4.h')
-rw-r--r--src/stream/arc4/arc4.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/stream/arc4/arc4.h b/src/stream/arc4/arc4.h
index 78c665985..0488783ef 100644
--- a/src/stream/arc4/arc4.h
+++ b/src/stream/arc4/arc4.h
@@ -26,7 +26,11 @@ class BOTAN_DLL ARC4 : public StreamCipher
StreamCipher* clone() const { return new ARC4(SKIP); }
- ARC4(u32bit = 0);
+ /**
+ * @param skip skip this many initial bytes in the keystream
+ */
+ ARC4(u32bit skip = 0);
+
~ARC4() { clear(); }
private:
void key_schedule(const byte[], u32bit);