In message <[EMAIL PROTECTED]> on Fri, 04 Jun 2004 11:17:49 +0800, Patrick Coleman 
<[EMAIL PROTECTED]> said:

pcoleman> Bulk encryption, I think. I just want to encrypt/decrypt >
pcoleman> RSA_size(key) bytes in one operation.

You can't encrypt/decrypt messages larger than the key with the RSA
algorithm.  It's part of the algorithm.  Therefore, it's better (as
some other have said) to encrypt/decrypt the message with a symmetric
algorithm, using a randomly generated key that you in turn
encrypt/decrypt using RSA (because the key is likely to be smaller
than RSA_size(rsakey)).

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte   \ Tunnlandsvägen 52 \ [EMAIL PROTECTED]
[EMAIL PROTECTED]  \ S-168 36  BROMMA  \ T: +46-708-26 53 44
                    \      SWEDEN       \
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to