Then you should choose one of the symmetric ciphers (aes, des, ...). Asymmetric ciphers like rsa/dsa are for key exchange/signing only, and for these purposes, these ciphers operate on a digest (which is little) rather than the data itself.
----- Original Message ----- From: "Patrick Coleman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 04, 2004 11:17 AM Subject: Re: RSA_public_encrypt max message length > Bulk encryption, I think. I just want to encrypt/decrypt > RSA_size(key) > bytes in one operation. > > Thanks, > Patrick > > ET Tan wrote: > > What were you trying to do? > > > > Key exchange or bulk encryption? > > > > > > ----- Original Message ----- > > From: "Patrick Coleman" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, June 04, 2004 10:53 AM > > Subject: RSA_public_encrypt max message length > > > > > > > >>Hi, > >>When encrypting strings with RSA_public_encrypt, I cant seem to encrypt > >>more than RSA_size(key) bytes. Is there any way to encrypt more than > >>this number of bytes in a single call to RSA_public_encrypt (or a > >>similar function)? > >> > >>Thanks, > >>Patrick > >>______________________________________________________________________ > >>OpenSSL Project http://www.openssl.org > >>User Support Mailing List [EMAIL PROTECTED] > >>Automated List Manager [EMAIL PROTECTED] > >> > > > > ______________________________________________________________________ > > OpenSSL Project http://www.openssl.org > > User Support Mailing List [EMAIL PROTECTED] > > Automated List Manager [EMAIL PROTECTED] > > > > > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List [EMAIL PROTECTED] > Automated List Manager [EMAIL PROTECTED] > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]