RSA cryptography between Python and Java

Paul Rubin http
Sat Jul 25 16:10:43 EDT 2009


Rob Knop <rknop at pobox.com> writes:
> > www.trevp.com/tlslite
> 
> Thanks, but that looks like a library for setting up a secure connection
> between two ends.  What I need is the ability to encrypt with a public
> key in Python, where that public key was generated in Java as described,
> and where the cipertext can later be decrypted with the corresponding
> secret key in Java.

Yes, I think that library has the function that you want.  It's just
X509 DER encoding.



More information about the Python-list mailing list