Enctypting web based forms data

I am currently working on a project where a user enters data into a web based form which is then submitted via email using a cgi. i would like to encrypt this data before submission. Presumably I would use PGPi (Im in Europe) to do this. Could anyone give me any indication as to how i would go about this. It is a unix web server. The cgi is written in C and i use javascript to validate the forms data. I'm a novice programmer and any help would be appreciated.
mcnamarpAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
jhurstConnect With a Mentor Commented:
No.

The problem with a form is that the data is there and submitted as is.  You could encrypt it using a Javascript function and then send it - but this is really kludgy and would involve you re-implementing the encryption in JS, etc.

You need to use htts: - this is the secure http protocol and does exactly what you need.
0
 
mcnamarpAuthor Commented:
Thanks for the response. Any suggestions as to where I would find good info on htts for this purpose.
0
All Courses

From novice to tech pro — start learning today.