Encryption/decryption

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
padmachandra
Forum Newbie
Posts: 1
Joined: Wed Oct 14, 2009 2:55 am

Encryption/decryption

Post by padmachandra »

Hi,

My requirement is to send the encrypted password from PHP to aspx pages.
And at the other end password should be decrypted.

So please suggest me any encryption/decryption mechanism or any third party dlls which supports both in PHP and .Net

Please anyone tell me the solution for the above.

Thanks,
Padma.
Eric!
DevNet Resident
Posts: 1146
Joined: Sun Jun 14, 2009 3:13 pm

Re: Encryption/decryption

Post by Eric! »

I don't think there are direct equivalents between the two. However you could pick a cypher like Rinjdael 128 that is supported by php mycrypt http://www.php.net/manual/en/mcrypt.ciphers.php

and by .NET
http://msdn.microsoft.com/en-us/library ... ndael.aspx

I noticed you posted this in "databases" forum. Perhaps you could just encrypt/decrypt with mysql functions instead. http://dev.mysql.com/doc/refman/5.1/en/ ... tions.html
Post Reply