>>>>> Michael Ströder <mich...@stroeder.com> (MS) wrote:
>MS> Piet van Oostrum wrote: >>> Please note that the text to be encrypted must be smaller than the key >>> size (at least 11 bytes smaller). You shouldn't encrypt large data with >>> RSA anyway: it is too slow. Normally you would encrypt a session key >>> with RSA and encrypt the data with the session key using a symmetric >>> algorithms like AES. >MS> I'd use CMS (AKA PKCS#7) for encrypted/signed data with X.509 certs. One >MS> should not invent another message format. Yes but the original question was not about X.509 certs. Just the RSA public key. I don't know what the OP wants to do with it. -- Piet van Oostrum <p...@cs.uu.nl> URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4] Private email: p...@vanoostrum.org -- http://mail.python.org/mailman/listinfo/python-list