I have a form on one of my sites, when the form is submitted is there a way to encrypt the form? And then arrive in my email inbox un-encrypted? Of would I have to encypt the form page? If so whats the easiest way to do wither of these things? The form is a pretty standard PHP mailer type Thanks
You can use the mcrypt http://php.net/mcrypt function to encrypt a string, and then email it and decrypt it locally using the same key. If you need really strong encryption, here is a relly good AES class that will allow up to 256 Bit AES encryption. http://www.phpaes.com/ I would encrypt, base64_encode, and then email it. You would then need to base64_decode, and decrypt it locally. You could also use a dynamic key like the specific email address with a salt.
When the email is received, it will be encrypted. At some point it will need to be decrypted so that it can be read. I don't now of any built-in function for an email program to decrypt a message.