aboutsummaryrefslogtreecommitdiffstats
path: root/src/arc4.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2007-01-20 10:31:38 +0000
committerlloyd <[email protected]>2007-01-20 10:31:38 +0000
commit3daea9be0a02b89703a37761bad293933891d999 (patch)
treedcb9851e03b1fa1560d3804b7340d32826d4f90c /src/arc4.cpp
parentafa7757881b4eef6421bdb8ae12ff553b5148e04 (diff)
Increase the maximum keylength of ARC4 to 256 bytes for Monotone.
Diffstat (limited to 'src/arc4.cpp')
-rw-r--r--src/arc4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arc4.cpp b/src/arc4.cpp
index 69c3eaf83..298e57cbd 100644
--- a/src/arc4.cpp
+++ b/src/arc4.cpp
@@ -95,7 +95,7 @@ void ARC4::clear() throw()
/*************************************************
* ARC4 Constructor *
*************************************************/
-ARC4::ARC4(u32bit s) : StreamCipher(1, 32), SKIP(s)
+ARC4::ARC4(u32bit s) : StreamCipher(1, 256), SKIP(s)
{
clear();
}