Jump to content

[Question] Two Way Encryption


devxtec

Recommended Posts

I am looking to learn how to do two way encryption with PHP. What I am looking for is an encryption algorithm which can be encoded and then decoded but at the same time provides strong security against unauthorized viewers (Will be encrypting perscription information). This encryption method must be able to be encrypted by a PHP script and decrypted by a program written in C & C++. So I was thinking Blowfish encryption. (If you have any other suggestions let me know.)

 

Anyway could someone point me in the right direction of a tutorial or something on how to do something of this nature? I would use mcrypt but the production server doesn't have this feature compiled into the PHP and as of right now I am not authorized by my supervisor to install mcrypt. Could something like PEAR help in this situation? Any and all help is greatly appreciated.

Link to comment
https://forums.phpfreaks.com/topic/119535-question-two-way-encryption/
Share on other sites

I haven't used 4.3 for AGES.  Why can't you upgrade to PHP5 and MySQL5 on the production server?  Most companies have at LEAST PHP5 installed. >_<  I never installed mcrypt into php4 to be honest.

 

We haven't fully upgraded all servers to PHP5 yet as not all of our code has been converted to be PHP5 compatible. So there is no way to do encryption without the use of mcrypt? I find that hard to believe.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.