All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.security.IDEA

java.lang.Object
   |
   +----cryptix.security.BlockCipher
           |
           +----cryptix.security.IDEA

public class IDEA
extends BlockCipher
Note: IDEA is deprecated.

This class implements the Cryptix V2.2 API for the IDEA block cipher. New code should use the JCA implementation of IDEA, which can be obtained by calling Cipher.getInstance("IDEA"), for example.

IDEA is a block cipher with a key length of 16 bytes and a block length of 8 bytes. It is highly popular, being the original cipher in PGP, and has received a lot of cryptanalytic attention.

IDEA was written by Dr. X. Lai and Prof. J. Massey.

References

See the IDEA page for more details.

The algorithm is subject to patent claims by Ascom Systec Ltd (applied for May 1991), and is licensable.

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

$Revision: 1.4 $

Author:
Systemics Ltd, David Hopwood, Raif S. Naffah
See Also:
getInstance

Variable Index

 o BLOCK_LENGTH
The length of a block (8 bytes for IDEA).
 o KEY_LENGTH
The length of a user key (16 bytes for IDEA).

Constructor Index

 o IDEA(byte[])
This creates an IDEA block cipher instance, with key data taken from a 16-byte array.

Method Index

 o main(String[])
Entry point for very basic self_test.
 o self_test()
Do some basic tests.

Variables

 o BLOCK_LENGTH
 public static final int BLOCK_LENGTH
The length of a block (8 bytes for IDEA).

 o KEY_LENGTH
 public static final int KEY_LENGTH
The length of a user key (16 bytes for IDEA).

Constructors

 o IDEA
 public IDEA(byte userKey[])
This creates an IDEA block cipher instance, with key data taken from a 16-byte array.

Parameters:
userKey - the user key.
Throws: CryptoError
if an error occurs initializing the cipher.

Methods

 o main
 public static final void main(String argv[])
Entry point for very basic self_test.

 o self_test
 public static final void self_test() throws CryptoError
Do some basic tests. Three of the certification data are included only, no output, success or exception. If you want more, write a test program!

See Also:
IDEA

All Packages  Class Hierarchy  This Package  Previous  Next  Index