Inheritance diagram for Acme.Crypto.CbcBlockCipher:
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. |