#include <cbc.h>
Inheritance diagram for CBC_CTS_Encryptor:

Public Methods | |
| CBC_CTS_Encryptor (const BlockTransformation &cipher,byte *IV,BufferedTransformation *outQueue,bool stealIV) | |
| CBC_CTS_Encryptor (const BlockTransformation &cipher,const byte *IV,BufferedTransformation *outQueue=NULL) | |
Protected Methods | |
| void | FirstPut (const byte *inString) |
| void | NextPut (const byte *inString,unsigned int length) |
| void | LastPut (const byte *inString,unsigned int length) |
Protected Attributes | |
| byte* | m_iv |
Compatible with RFC 2040. Ciphertext stealing requires at least cipher.BlockSize()+1 bytes of plaintext. Shorter plaintext will be padded with '\0's unless IV stealing is specified.
Definition at line 75 of file cbc.h.
|
|
If stealIV == true and length of plaintext < cipher.BlockSize()+1, IV will be modified, and the modified IV must be used for decryption. If stealIV == false or using the second constructor, shorter plaintexts will be padded with '\0's. |
|
|
|
|
|
Reimplemented from FilterWithBufferedInput. |
|
|
Reimplemented from FilterWithBufferedInput. |
|
|
Reimplemented from FilterWithBufferedInput. |
|
|
|
1.2.4 written by Dimitri van Heesch,
© 1997-2000