Forum Moderators: coopster

Message Too Old, No Replies

Server-side encryption, e-mail data, de-crypt from desktop

Keeping sensitive data safe

         

MatthewHSE

3:01 am on Sep 14, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm working on a script that handles some personal information submitted through a form. I need to be able to receive the form results by e-mail, but I'd rather that the data was encrypted for the e-mail. Basically, I need to find some way to use PHP to encrypt the data on the server, then send me the encrypted data. Then, I'll need a de-crypting application on my PC in order to receive the data.

I have used something like this with Perl, and basically it uses a Perl module and a private key to encrypt the data. Then, a desktop application I have uses a local copy of the private key to decrypt the data. I'm wondering if there is anything similar I can do with PHP. (Incidentally, I didn't code the Perl version myself - I just use the system.)

Does PHP offer good encryption, and if so, can I get a desktop application that will decrypt it?

Thanks in advance for any ideas,

Matthew

marcs

3:05 am on Sep 14, 2005 (gmt 0)

10+ Year Member



Using PGP (or GPG) will probably be your best bet.