cryptix.provider.key

Class LOKI91KeyGenerator

public class LOKI91KeyGenerator extends RawKeyGenerator

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 $

Since: Cryptix 2.2.0a, 2.2.2

Author: Raif S. Naffah David Hopwood

Constructor Summary
LOKI91KeyGenerator()
Method Summary
booleanisWeak(byte[] key)
Returns true iff the byte array key represents a weak or semi-weak LOKI91 key.

Constructor Detail

LOKI91KeyGenerator

public LOKI91KeyGenerator()

Method Detail

isWeak

public boolean isWeak(byte[] key)
Returns true iff the byte array key represents a weak or semi-weak LOKI91 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:

Semi-Weak Keys:

Parameters: key the byte array containing user key data.