Just get a 128bit SSL certificate (around $100 per year, IIRC) for your site and run it under https. Problem solved without writing a single line of code.
https will keep the info between the client page and the webserver secure (as it currently needs to be). All data between client and server is encrypted in both directions when using SSL. Just make sure that https is being used where the critical data is being passed back and forth.
Whoever gave you that info doesn't really know what s/he is talking about... I bet it's a prof. or a univ. employee, right?
i was on about emailing the card details to an email address though, so thats maybe what he ment?? to protect the data that way perhaps?
if that is the case m8 do you know of any scripts anywer that are secure enough to encrypt card details, then email them then decrypt them at the other end (again over a SSL).
Instead of e-mail, why not use a page (also under https) that requires authentication and transmit the CC info through that? You could format the data as XML and your program at the other end could log in securely, retrieve the data, parse it and do whatever it needs to with it.
Well, to answer your question, I don't really know... Perhaps you could use PGP, but I don't know what's happening with it in recent times, nor have I ever used it.
If you can do ASP, I don't see how using e-mail is going to be easier for you than the sort of method I proposed... especially since you'll need an SSL certificate anyways and you don't currently have a means for sending and receiving secure e-mail...
If you fill in the details of the system you're going to build, I may be able to provide better ideas...
Bookmarks