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
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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.