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
-
blockSize
- How big a block is.
-
BlockCipher(int, int)
- Constructor.
-
blockSize()
- Return how big a block is.
-
decrypt(byte[], byte[])
- Decrypt a block of bytes.
-
decrypt(byte[], int, byte[], int)
- Decrypt a block of bytes.
-
encrypt(byte[], byte[])
- Encrypt a block of bytes.
-
encrypt(byte[], int, byte[], int)
- Encrypt a block of bytes.
blockSize
public int blockSize
- How big a block is.
BlockCipher
public BlockCipher(int keySize,
int blockSize)
- Constructor.
blockSize
public int blockSize()
- Return how big a block is.
encrypt
public abstract void encrypt(byte clearText[],
int clearOff,
byte cipherText[],
int cipherOff)
- Encrypt a block of bytes.
decrypt
public abstract void decrypt(byte cipherText[],
int cipherOff,
byte clearText[],
int clearOff)
- Decrypt a block of bytes.
encrypt
public void encrypt(byte clearText[],
byte cipherText[])
- Encrypt a block of bytes.
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