Encryption in ASP and Decryption in PHP
Posted: Wed May 21, 2008 3:23 pm
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
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