This is not working...
I have just done a hex dump and the key still bears no resemblence to the
key reported by the command line....is it because i have version 0.9.8k of
the SDK and 0.9.8g of the command line?

Dr. Stephen Henson wrote:
> 
> On Mon, Aug 10, 2009, MusicAndy wrote:
> 
>> 
>> The Key looks completely different in command line to my program.  Why
>> would
>> this be the case when i am calling the bytes to key function????  I am
>> using
>> a password of "1" therefore in the C++ do I need to do the same..  do I
>> need
>> to pad out the password in the C++?
>> 
>> Help :(
>> 
> 
> The key from EVP_BytesToKey() is in hex format so you need to do a hex
> dump of
> it.
> 
> You don't need to pad out the password a standard null terminated string
> is
> fine.
> 
> Steve.
> --
> Dr Stephen N. Henson. OpenSSL project core developer.
> Commercial tech support now available see: http://www.openssl.org
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           majord...@openssl.org
> 
> 

-- 
View this message in context: 
http://www.nabble.com/EVP-errors%21-tp24898590p24913177.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.

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

Reply via email to