I need to use CBC with ciphertext stealing.
I found the following on Wikipedia:
CBC ciphertext stealing encryption using a standard CBC interface
1. Encrypt the plaintext through the last full block using the standard CBC
mode.
2. Pad the last partial block with the trailing ciphertext of the
Ok, now it's much clearer!
Thank you very much, Marek, that helped me a lot.
Marek Marcola wrote:
>
> Hello,
>> Why is the initial vector (ivec) needed?
> This is part of CBC mode. This mode does not depend on used block
> encryption algorithm. Look at:
> http://en.wikipedia.org/wiki/Cipher_bl
I have some question too.
I whould appreciate any help!
Why is the initial vector (ivec) needed?
I see by reading the openssl code that it is used for xoring with the input
before encrypting, but from what I see in other resources, this is not a
part of the Rijndael algorithm (It is not the AddRo