On Wed, Apr 15, 2009 at 11:46:56AM +0300, Atti wrote:

> I built the new OpenSSL (1.0.0) and tried to run the blowfish
> encryption example from the OpenSSL docs
> (http://openssl.org/docs/crypto/EVP_EncryptInit.html#EXAMPLES) but
> this time I used the same library to compile the application, because
> this build only made this one. I made one debug and one release build
> with VS2008, and they both generated different cyphertexts with the
> same key and input data. I also used the same .DLL, becase there is
> only one, and as I read from the FAQ, that should be okay. What am I
> doing wrong?

If you run a single build (either the debug or the release version)
twice to encrypt the same data with the same key, do you get the same
ciphertext each time? What encryption "mode" are you using and how do you
generate the "IV" if an IV is required?

-- 
        Viktor.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to