I am no expert in cryptography, but what you pointed out must be the initial vector. Because you are using Blowfish in CBC mode you need a block of data before you can start the encryption. That block of data is called initial vector as far as I know(hence ivec).

Paul Khavkine wrote:

I'm fooling around trying to figure out how to use the OpenSSL C API.
I've read the docs and some things are clear some are not.
In the functions BF_cbc_encrypt() what is the ivec variable.
What does it do and what is it for and what is it supposed to do?

Thanx for any help.
Paul

______________________________________________________________________
OpenSSL Project                                http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

-- 
___________________________________________________________________
Houman Ghaemi                       www.stormix.com     
Software Developer                  Tel: (604) 688-9137
email: [EMAIL PROTECTED]
 


Reply via email to