On Thu, Mar 24, 2005, Layla wrote:

> Hi,
> I'm writing a program which requires the use of encryption/decryption
> functions, therefore, I have been using EVP functions for initializing
> cipher contexts. I generated keys and initialization vectors for this
> purpose, but someone told me that initialization vectors aren't necessary
> for initializing cipher contexts;

if no iv is specified a zero iv will be used (in a new context)

> snd that it is correct to encrypt and
> decrypt without using initialization vectors.
> My question is: is this true or must I use initialization vectors?

I would recommend to use them

Cheers,
Nils

--
Nils Larsch             [EMAIL PROTECTED]            
OpenSSL Project         http://www.openssl.org/~nils/
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to