|
|||||||||
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.IDEAKeyGenerator
A key generator for IDEA.
IDEA keys have a fixed length of 128 bits.
References:
$Revision: 1.1.1.1 $
Constructor Summary | |
IDEAKeyGenerator()
|
Method Summary | |
boolean |
isWeak(byte[] key)
Returns true iff the byte array key represents a weak IDEA key. |
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 |
|
Constructor Detail |
public IDEAKeyGenerator()
Method Detail |
public boolean isWeak(byte[] key)
IDEA has two non-overlapping classes of weak keys (bit numbering is from left to right, e.g. 0 denotes the most significant bit of the first byte):
isWeak
in class RawKeyGenerator
key
- the byte array containing user key data.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |