RSA cryptography between Python and Java

Rob Knop rknop at pobox.com
Sat Jul 25 14:57:55 EDT 2009


I've created an RSA key in Java.  I have exported the public key by
making it into a X509EncodedKeySpec and spitting out the result of
getEncoded().

I want to use this public key to encode something in python that I will
send to Java, and then decode in Java with the corresponding private
key.

Are there any python libraries that will take a public key in this
format and do RSA encoding on it?

-- 
--Rob Knop
  E-mail:    rknop at pobox.com
  Home Page: http://www.pobox.com/~rknop/
  Blog:      http://www.sonic.net/~rknop/blog/



More information about the Python-list mailing list