Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

Acme.Crypto.CbcBlockCipher Class Reference

Inheritance diagram for Acme.Crypto.CbcBlockCipher:

Acme.Crypto.BlockCipher Acme.Crypto.Cipher Acme.Crypto.CryptoUtils List of all members.

Detailed Description

Use a block cipher in CBC mode.

Definition at line 59 of file CbcBlockCipher.java.

Public Member Functions

 CbcBlockCipher (BlockCipher blockCipher)
 Constructor.
void setKey (byte[] key)
 Set the key from a block of bytes.
void setIv (byte[] iv)
 Set the Initialization Vector.
byte[] setRandomIv ()
 Set and return a random IV.
void encrypt (byte[] clearText, int clearOff, byte[] cipherText, int cipherOff)
 Encrypt a block of bytes.
void decrypt (byte[] cipherText, int cipherOff, byte[] clearText, int clearOff)
 Decrypt a block of bytes.


The documentation for this class was generated from the following file:
Generated on Wed Dec 14 21:05:36 2005 for OpenMobileIS by  doxygen 1.4.4