>       From: [email protected] On Behalf Of Sam Jantz
>       Sent: Friday, 10 September, 2010 16:42

>               It's actually a mix of a couple of hashes.  Specifically 
> md5, and sha1 according to the spec. 
>       The best place to look for this would be [RFC2246]

That's key derivation for SSL/TLS protocol. (Which changes in 
TLS1.2 RFC5246, but we here don't care yet.) OP asked about 
the password-based-KDF used in 'enc' (and other OpenSSL PBE 
files like 'rsa -des' for privatekey PEM) which is PKCS#5v1. 
The principles are similar but the details quite different.

>       On Fri, Sep 10, 2010 at 1:57 PM, Stephan Müller 
> <[email protected]> wrote:
        
>               i am wondering how key derivation in openssl works, I got
                
>               > > openssl enc -des -P -k 'admin' -nosalt



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

Reply via email to