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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/stream/arc4/arc4.h b/src/stream/arc4/arc4.h
index 85ddb69b7..e3df97f83 100644
--- a/src/stream/arc4/arc4.h
+++ b/src/stream/arc4/arc4.h
@@ -26,6 +26,11 @@ class BOTAN_DLL ARC4 : public StreamCipher
StreamCipher* clone() const { return new ARC4(SKIP); }
+ Key_Length_Specification key_spec() const
+ {
+ return Key_Length_Specification(1, 256);
+ }
+
/**
* @param skip skip this many initial bytes in the keystream
*/