473,388 Members | 1,606 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

E-Mail Encryption


Probably a daft php noobie question!

Is there an e-mail encryption facility buried in the depths of php -
I'm looking for something like php's equivilent of AspEncrypt which
I've been using with great success for sometime now.

Basically I want to be able to encrpyt the message on the server, send
the e-mail message out containing credit card details and the recipient
be only able to open with the aid of a key.

Any pointers gratefully recieved!

TIA

--
Buzby
There's nothing more dangerous than a resourceful idiot
Jun 8 '07 #1
1 1617
Buzby schrieb:
Probably a daft php noobie question!

Is there an e-mail encryption facility buried in the depths of php -
I'm looking for something like php's equivilent of AspEncrypt which
I've been using with great success for sometime now.

Basically I want to be able to encrpyt the message on the server, send
the e-mail message out containing credit card details and the recipient
be only able to open with the aid of a key.

Any pointers gratefully recieved!

TIA
There is a library for GnuPG, but it is not bundled with PHP by default:
http://php.net/gnupg. You'll need to install it with your own version of
PHP unless your host has it enabled already.

Note that actually making a user interface for the key exchange is a
task in itself. You'll probably want to give the user to option to
upload their public key through a file form or enter the URL of a
keyserver where it is stored. If you want to make it really convenient,
perhaps automatically search some of the more popular keyservers (say,
pgp.mit.edu) for their email address.

But once you have set that up, it would be possible to send the user an
encrypted mail, which they can then decrypt with their private key.

Signing would also work, assuming you generate a keypair for your site
(although you would have to store the private key on the server, which
is dangerous).

--
cb
Jun 13 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Reimar Bauer | last post by:
Hi all, I would like to use a hierarchical group oriented encryption. Is there something implemented or did you know something I could use? For explanaition. If you have a large building...
5
by: Jerry | last post by:
Hi, I am writing a Java Chatroom application that will implement encryption of messages using the RSA algorithm using the BigInteger class. It uses socket connections to exchange messages. I...
34
by: Blake T. Garretson | last post by:
I want to save some sensitive data (passwords, PIN numbers, etc.) to disk in a secure manner in one of my programs. What is the easiest/best way to accomplish strong file encryption in Python? ...
7
by: helmut woess | last post by:
Hi, has anybody knowledge about the safetyness of encrypting stored procs in SQL-Server 2005 using WITH ENCRYPTION? Or can they be hacked with the same old tools which exists for SQL 2000? ...
113
by: Bonj | last post by:
I was in need of an encryption algorithm to the following requirements: 1) Must be capable of encrypting strings to a byte array, and decyrpting back again to the same string 2) Must have the same...
19
by: Mike Cox | last post by:
Has anyone created something like that for Postgresql? It would be really handy to encrypt credit card numbers and other information so it stays secure. If no one has created anything such as...
9
by: sweety | last post by:
Dear All, How to encrypt a C data file and make binary file and then have to read a bin file at run time and decrypt the file and have to read the data. Any help to achive this pls. Would be...
3
by: jflint | last post by:
A client has purchased a Verisign Digital ID, which creates a public and private key for encrypting e-mail sent from a server and decrypting it when it reaches the users outlook. How can I...
11
by: John Williams | last post by:
I've written a simple program to do XOR encryption as my first foray into understanding how encryption works. The code compiles fine, however it segmentation faults on every run. using gdb to...
19
by: klenwell | last post by:
Another request for comments here. I'd like to accomplish something like the scheme outlined at this page here: http://tinyurl.com/3dtcdr In a nutshell, the form uses javascript to hash...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.