Click here to Skip to main content
15,891,704 members
Please Sign up or sign in to vote.
3.40/5 (2 votes)
See more:
Actually, i have started work on creating a web service in Python and C#(.NET 3.5 framework) as client. All requests are on POST so i decided to send my data in encrypted form using public key on C# side and decrypt data in Python, Again from python Encrypt data using Private Key & decrypt using public key in C# side..

But the problem here is that keys i hav generated in C# side that is in <RSAKeyValue>...</RSAKeyValue> xml format that is not support in python.

I have also tried from python to generate key pair, that are not working C# side..

I have searched on web, found some solutions but nothing works...
Can Any tell me how to generate key pairs that work on both side...?
Also tell me the format of key generated on both sides..
If you have any related info or KB regarding RSA encryption please share here with me.
Posted
Updated 5-Jul-11 22:44pm
v2
Comments
Prasad Khandekar 5-Jul-13 10:22am    
Hello,

Perhaps you can try using Chilkat RSA Python Library (http://www.chilkatsoft.com/rsa-python.asp) on python side.

Regards,
CHill60 5-Jul-13 10:38am    
The question is 2 years old!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900