All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.provider.key.IDEAKeyGenerator

java.lang.Object
   |
   +----java.security.KeyGenerator
           |
           +----cryptix.provider.key.RawKeyGenerator
                   |
                   +----cryptix.provider.key.IDEAKeyGenerator

public class IDEAKeyGenerator
extends RawKeyGenerator
A key generator for IDEA.

IDEA keys have a fixed length of 128 bits.

References:

Copyright © 1997 Systemics Ltd on behalf of the Cryptix Development Team.
All rights reserved.

$Revision: 1.1.1.1 $

Author:
David Hopwood

Constructor Index

 o IDEAKeyGenerator()

Method Index

 o isWeak(byte[])
Returns true iff the byte array key represents a weak IDEA key.

Constructors

 o IDEAKeyGenerator
 public IDEAKeyGenerator()

Methods

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

Parameters:
key - the byte array containing user key data.
Overrides:
isWeak in class RawKeyGenerator

All Packages  Class Hierarchy  This Package  Previous  Next  Index