Noone knows the answer to this????

Would it be possible to create a secure eCommerse site just using JavaScript? I guess I would use cookies for the shop cart, but what about the Credit Card information that needs to be emailed to me? Would there be a secure way to encrypt the credit card information?

Also - Is there a way to keep my JavaScripts from being downloaded to the client machine? This way, perhaps I may be able to write a small encryption function.

Any thoughts?

Thank you