com.mindbright.security.cipher
Class IDEA

java.lang.Object
  extended bycom.mindbright.jce.crypto.CipherSpi
      extended bycom.mindbright.security.cipher.BlockCipher
          extended bycom.mindbright.security.cipher.IDEA

public final class IDEA
extends BlockCipher


Constructor Summary
IDEA()
           
 
Method Summary
 void blockDecrypt(byte[] in, int inOffset, byte[] out, int outOffset)
           
 void blockEncrypt(byte[] in, int inOffset, byte[] out, int outOffset)
           
 int getBlockSize()
           
 void initializeKey(byte[] key)
           
 
Methods inherited from class com.mindbright.security.cipher.BlockCipher
engineDoFinal, engineGetBlockSize, engineGetIV, engineGetOutputSize, engineInit, engineInit, engineSetMode, engineSetPadding, getIntLSBO, getIntMSBO, nboIncr, putIntLSBO, putIntMSBO
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IDEA

public IDEA()
Method Detail

getBlockSize

public int getBlockSize()
Specified by:
getBlockSize in class BlockCipher

initializeKey

public void initializeKey(byte[] key)
Specified by:
initializeKey in class BlockCipher

blockEncrypt

public void blockEncrypt(byte[] in,
                         int inOffset,
                         byte[] out,
                         int outOffset)
Specified by:
blockEncrypt in class BlockCipher

blockDecrypt

public void blockDecrypt(byte[] in,
                         int inOffset,
                         byte[] out,
                         int outOffset)
Specified by:
blockDecrypt in class BlockCipher