|
Cryptix V3.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xjava.security.KeyGenerator | +--cryptix.provider.key.RawKeyGenerator | +--cryptix.provider.key.RC4KeyGenerator
A variable-length key generator for RC4.
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 Summary | |
RC4KeyGenerator()
|
Method Summary | |
protected boolean |
isWeak(byte[] key)
Returns true iff key is a weak RC4 key, as described in Andrew Roos' paper. |
Methods inherited from class cryptix.provider.key.RawKeyGenerator |
engineGenerateKey,
generateKey,
generateKey,
getDefaultKeyLength,
getMaximumKeyLength,
getMinimumKeyLength,
initialize,
initialize,
isValidKeyLength,
isWeakAllowed,
setWeakAllowed |
Methods inherited from class xjava.security.KeyGenerator |
clone,
engineGetParameter,
engineSetParameter,
getAlgorithm,
getAlgorithms,
getAlgorithms,
getInstance,
getInstance,
getParameter,
setParameter,
toString |
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public RC4KeyGenerator()
Method Detail |
protected boolean isWeak(byte[] key)
|
Cryptix V3.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |