|
|||||||||
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.LOKI91KeyGenerator
A key generator for LOKI91.
LOKI91 keys have a fixed length of 64 bits.
Copyright © 1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.2 $
Constructor Summary | |
LOKI91KeyGenerator()
|
Method Summary | |
boolean |
isWeak(byte[] key)
Returns true iff the byte array key represents a weak or semi-weak LOKI91 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 LOKI91KeyGenerator()
Method Detail |
public boolean isWeak(byte[] key)
LOKI91 has four weak keys and twelve semi-weak keys. Here are the lists of these keys (values given in hexadecimal form):
Weak Keys:
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 |