Class cryptiX.crypto.CbcBlockCipher
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptiX.crypto.CbcBlockCipher

java.lang.Object
   |
   +----cryptiX.crypto.CryptoUtils
           |
           +----cryptiX.crypto.Cipher
                   |
                   +----cryptiX.crypto.BlockCipher
                           |
                           +----cryptiX.crypto.CbcBlockCipher

public class CbcBlockCipher
extends BlockCipher

Constructor Index

 o CbcBlockCipher(BlockCipher)

Method Index

 o decrypt(byte[])
WP decrypts an array where the length must be a multiple of 8
 o decrypt(byte[], int, byte[], int)
 o encrypt(byte[])
WP encrypts an array where the length must be a multiple of 8
 o encrypt(byte[], int, byte[], int)
 o setIv(byte[])
 o setKey(byte[])
 o setRandomIv()

Constructors

 o CbcBlockCipher
  public CbcBlockCipher(BlockCipher blockCipher)

Methods

 o setKey
  public void setKey(byte key[])
Overrides:
setKey in class Cipher
 o setIv
  public void setIv(byte iv[])
 o setRandomIv
  public byte[] setRandomIv()
 o encrypt
  public void encrypt(byte clearText[],
                      int clearOff,
                      byte cipherText[],
                      int cipherOff)
Overrides:
encrypt in class BlockCipher
 o encrypt
  public byte[] encrypt(byte clearText[])
WP encrypts an array where the length must be a multiple of 8
Overrides:
encrypt in class BlockCipher
 o decrypt
  public void decrypt(byte cipherText[],
                      int cipherOff,
                      byte clearText[],
                      int clearOff)
Overrides:
decrypt in class BlockCipher
 o decrypt
  public byte[] decrypt(byte cipherText[])
WP decrypts an array where the length must be a multiple of 8
Overrides:
decrypt in class BlockCipher

All Packages  Class Hierarchy  This Package  Previous  Next  Index