Advertisement Jump to content
Sign in to follow this  
Marineio

[.net] .NET + PHP Rsa

This topic is 4006 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!