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

Acme.Crypto.BlockCipher Class Reference

Inheritance diagram for Acme.Crypto.BlockCipher:

Acme.Crypto.Cipher Acme.Crypto.CryptoUtils Acme.Crypto.BlowfishCipher Acme.Crypto.CbcBlockCipher Acme.Crypto.IdeaCipher Acme.Crypto.NullCipher List of all members.

Detailed Description

A block encryption template.

Definition at line 45 of file BlockCipher.java.

Public Member Functions

 BlockCipher (int keySize, int blockSize)
 Constructor.
int blockSize ()
 Return how big a block is.
abstract void encrypt (byte[] clearText, int clearOff, byte[] cipherText, int cipherOff)
 Encrypt a block of bytes.
abstract void decrypt (byte[] cipherText, int cipherOff, byte[] clearText, int clearOff)
 Decrypt a block of bytes.
void encrypt (byte[] clearText, byte[] cipherText)
 Encrypt a block of bytes.
void decrypt (byte[] cipherText, byte[] clearText)
 Decrypt a block of bytes.

Public Attributes

int blockSize
 How big a block is.


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