Hello Marek, originally I must use RSA encryption. But in the internet is written I should use AES for encryption big files because of the low RSA speed. My solution is to use AES for file encryption and then to use RSA for encryption the AES key. The RSA key is protected by 3DES and witten as PEM file to harddisk.
Martin -------- Original-Nachricht -------- > Datum: Wed, 05 Sep 2007 15:56:46 +0200 > Von: Marek Marcola <[EMAIL PROTECTED]> > An: openssl-users@openssl.org > Betreff: Re: AES cbc? How to Init Openssl? > Hello, > > I have decided to use the EVP Aes version. This is my try. It worked > fine for me. > Great, but you may think of changing AES key from user defined > to generated with PKCS#5 specification. > In this case you use password/passphrase (easy to remember and any > length) and based on this you generate any length key_material > which is used as AES key. > Using this method, password "secret" may be used to encrypt > some data with AES128, AES192 or AES256. > > Example attached. > > Best regards, > -- > Marek Marcola <[EMAIL PROTECTED]> -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]