Javascript - Python RSA encryption interoperability

Evren Esat Ozkan sleytr at gmail.com
Fri Jul 4 09:36:32 EDT 2008


Hello,

I'm trying to encrypt a string with RSA. But it needs to be compitable
with Dave's JavaScript RSA implementation*. I'm already read and tried
lots of different things about RSA and RSA in Python. But could not
produce the same result with the javascript library.

My experiments could be seen at: http://dpaste.com/hold/60741/

* JavaScript RSA Library: http://www.ohdave.com/rsa/

Python libraries which I tried;
* PyCrtypo: http://www.amk.ca/python/code/crypto.html
* rsa library from http://www.stuvel.eu/rsa

How could I create the same results with the JS library in Python.


Any help would be appreciated

Evren,



More information about the Python-list mailing list