public class LOKI91KeyGenerator extends RawKeyGenerator
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 and Description |
|---|
LOKI91KeyGenerator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isWeak(byte[] key)
Returns true iff the byte array key represents a
weak or semi-weak LOKI91 key.
|
engineGenerateKey, generateKey, generateKey, getDefaultKeyLength, getMaximumKeyLength, getMinimumKeyLength, initialize, initialize, isValidKeyLength, isWeakAllowed, setWeakAllowedclone, engineGetParameter, engineSetParameter, getAlgorithm, getAlgorithms, getAlgorithms, getInstance, getInstance, getParameter, setParameter, toStringpublic 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 RawKeyGeneratorkey - the byte array containing user key data.