diff options
author | lloyd <[email protected]> | 2007-01-20 10:31:38 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2007-01-20 10:31:38 +0000 |
commit | 3daea9be0a02b89703a37761bad293933891d999 (patch) | |
tree | dcb9851e03b1fa1560d3804b7340d32826d4f90c /src/arc4.cpp | |
parent | afa7757881b4eef6421bdb8ae12ff553b5148e04 (diff) |
Increase the maximum keylength of ARC4 to 256 bytes for Monotone.
Diffstat (limited to 'src/arc4.cpp')
-rw-r--r-- | src/arc4.cpp | 2 |
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(); } |