public class RC4KeyGenerator extends RawKeyGenerator
This implementation allows keys to have a length of between 40 and 1024 bits. The default length is 128 bits.
References:
Copyright © 1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.2 $
Constructor and Description |
---|
RC4KeyGenerator() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isWeak(byte[] key)
Returns true iff key is a weak RC4 key, as described in Andrew
Roos' paper.
|
engineGenerateKey, generateKey, generateKey, getDefaultKeyLength, getMaximumKeyLength, getMinimumKeyLength, initialize, initialize, isValidKeyLength, isWeakAllowed, setWeakAllowed
clone, engineGetParameter, engineSetParameter, getAlgorithm, getAlgorithms, getAlgorithms, getInstance, getInstance, getParameter, setParameter, toString
protected boolean isWeak(byte[] key)
isWeak
in class RawKeyGenerator