Page 1 of 1

Encryption in ASP and Decryption in PHP

Posted: Wed May 21, 2008 3:23 pm
by thomas
Hi,

I need to encrypt a message in ASP.NET and POST it on to a PHP page. The PHP script will then decrypt the message and display it. So far I got the encryption to work using RSACryptoServiceProvider in C# using the private but I cannot seem to decrypt the message in php using openssl_public_decrypt. Can someone help me out with this.

Thanks,

Thomas

Re: Encryption in ASP and Decryption in PHP

Posted: Thu May 22, 2008 3:26 am
by Maugrim_The_Reaper
I suggest locating an RSA lib for PHP - PEAR should have something.