Sign in to follow this  
Marineio

[.net] .NET + PHP Rsa

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this