All Packages  Class Hierarchy  This Package  Previous  Next  Index


Class Acme.Crypto.BlockCipher

java.lang.Object
   |
   +----Acme.Crypto.CryptoUtils
           |
           +----Acme.Crypto.Cipher
                   |
                   +----Acme.Crypto.BlockCipher

public abstract class BlockCipher
extends Cipher
A block encryption template.

Fetch the software.
Fetch the entire Acme package.

See Also:
Cipher, StreamCipher, EncryptedOutputStream, EncryptedInputStream, DesCipher, CbcBlockCipher

Variable Index

 o blockSize
How big a block is.

Constructor Index

 o BlockCipher(int, int)
Constructor.

Method Index

 o blockSize()
Return how big a block is.
 o decrypt(byte[], byte[])
Decrypt a block of bytes.
 o decrypt(byte[], int, byte[], int)
Decrypt a block of bytes.
 o encrypt(byte[], byte[])
Encrypt a block of bytes.
 o encrypt(byte[], int, byte[], int)
Encrypt a block of bytes.

Variables

 o blockSize
 public int blockSize
How big a block is.

Constructors

 o BlockCipher
 public BlockCipher(int keySize,
                    int blockSize)
Constructor.

Methods

 o blockSize
 public int blockSize()
Return how big a block is.

 o encrypt
 public abstract void encrypt(byte clearText[],
                              int clearOff,
                              byte cipherText[],
                              int cipherOff)
Encrypt a block of bytes.

 o decrypt
 public abstract void decrypt(byte cipherText[],
                              int cipherOff,
                              byte clearText[],
                              int clearOff)
Decrypt a block of bytes.

 o encrypt
 public void encrypt(byte clearText[],
                     byte cipherText[])
Encrypt a block of bytes.

 o decrypt
 public void decrypt(byte cipherText[],
                     byte clearText[])
Decrypt a block of bytes.


All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs