I hope this will help you.

http://www.openssl.org/docs/crypto/EVP_BytesToKey.html

You can use passphrase along with some random data to derive a key and
then use that key to encryptand to decrypt data.

Regards
Amar


> Hi,
> 
> i need to encrypt a file using AES, and I want to use some sort of private
> key which encrypts and decrypts, with a passphrase.
> 
> I found documentation on how to generate RSA/DSA keys, but I can't find
> documentation about AES keys.
> 
> Can anyone give me a hint on this?
> 
> Regards,
> 
> Bart

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

Reply via email to