On Mon June 27 2011, Vladimir Belov wrote: > Thanks for answer, Chris. > > I understand that slow RSA algorithm is not used to encrypt large amounts of > data, instead of it symmetric algorithms are used. > > But is it the limit of RSA-algorithm or only OpenSSL library's limit? >
The size of the RSA key (length) you choose to use. Mike > ------------------------------------------------------------------------------------------------------------ > From: Chris Dodd > Sent: Monday, June 27, 2011 8:36 PM > > Roughly keysize - paddingsize is the limit. keysize in your case is 512 > bytes and padding size for OAEP padding (the common standard) is ~41, so > the limit is about 471 bytes. > > Usually when encrypting a file, you use a symmetric cipher with a > randomly chosen key, and then encrypt the key with RSA and prepend that > to the encrypted file. > > > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager majord...@openssl.org > > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org