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
-
CbcBlockCipher(BlockCipher)
-
-
decrypt(byte[])
- WP
decrypts an array where the length must be a multiple of 8
-
decrypt(byte[], int, byte[], int)
-
-
encrypt(byte[])
- WP
encrypts an array where the length must be a multiple of 8
-
encrypt(byte[], int, byte[], int)
-
-
setIv(byte[])
-
-
setKey(byte[])
-
-
setRandomIv()
-
CbcBlockCipher
public CbcBlockCipher(BlockCipher blockCipher)
setKey
public void setKey(byte key[])
- Overrides:
- setKey in class Cipher
setIv
public void setIv(byte iv[])
setRandomIv
public byte[] setRandomIv()
encrypt
public void encrypt(byte clearText[],
int clearOff,
byte cipherText[],
int cipherOff)
- Overrides:
- encrypt in class BlockCipher
encrypt
public byte[] encrypt(byte clearText[])
- WP
encrypts an array where the length must be a multiple of 8
- Overrides:
- encrypt in class BlockCipher
decrypt
public void decrypt(byte cipherText[],
int cipherOff,
byte clearText[],
int clearOff)
- Overrides:
- decrypt in class BlockCipher
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