Hi,
I have an HTML form where people can make payments on my sites. Instead of using SSL, I'm wondering whether I could use a JS lib that would encrypt the credit card information and send it to the server in clear text but encrypted, than the server would decrypt it. I found several libs that do that, they basically ask for a key pair from the server, encrypt it and send it to the server encrypted. Those are the ones I found:
http://www.hanewin.net/encrypt/
http://www.vincentcheung.ca/jsencryption/
Is that secure enough for credit card payments? I know the session is not encrypted but the only thing that really matters is the credit card information, right?