Jump to content
  • Advertisement
Sign in to follow this  
Marineio

[.net] .NET + PHP Rsa

This topic is 3855 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey, I have some Private/Public keys created with .NET RSACryptoServiceProvider... However. PHP needs them in openssl format, and as such, i can't decrypt data on teh PHP side from .NET Encrypted data. .NET:
<RSAKeyValue>
<Modulus>ueUVxFr3Vs84S2e1NqPaD3oawZWZznM8iHqk
5h4gOVJNUzq8ooeK6HerDFkumhtTe4cdCdegOc1Fa7amaP
NHqCD+XYgY8I6d4zIPp9YkkqBxryaES1OpC6cOyuUow0o8Y+
khAkYCtxXIpblFAaqL5wZvyV7EgdiWR+grw2MKcGM=</Modulus>
<Exponent>AQAB</Exponent>
</RSAKeyValue>
Can i convert this to the PHP variant? Can .NET use PHP's keys? Cheers

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!