title: PHP & HTML: Encrypt form
body: <p>I have forms within my website. Some of these forms include PayPal forms (forms that submit information to PayPal). I do not wish my customers to view the source code and see what fields &amp; their respective values I am using. As such I wish to encrypt them and yet, be able to submit information securely over to PayPal with the values that user enters in the form &amp; my own hidden form values.</p>
  
  <p>So for example, consider that one of the elements of my form is:</p>
  
  <pre><code>&lt;input name="note" type="text" id="note" value="&lt;?php echo ( isset($_POST['note']) ? $_POST['note'] : '' ); ?&gt;" maxlength="255" /&gt;
  </code></pre>
  
  <p>When I view the source code, I see something like this:</p>
  
  <pre><code>&lt;input name="note" type="text" id="note" value="This is my first note" maxlength="255" /&gt;
  </code></pre>
  
  <p>So it's very clearly visible what note I am sending. I do not want anyone to see what I am sending and to where. So if possible, can we encrypt the fields &amp; their values so that user sees something like the following when he views the source code:</p>
  
  <pre><code>aXKJKJHlnkhGHKJBjKJOIKJKG5dsaGjhvbSDHAHOSDLnNDNOjkjsadndKHKDNSQW
  </code></pre>
  
  <p>The above would represent the encrypted form of the field. Is this possible to achieve without using Javascript? I would really want to do this without javascript because the form field values would be dynamic &amp; javascript could be disabled. </p>
  
  <p>Thank you very much.</p>
  
  <p><strong>Edit1:</strong> I just wanted to add this Note to specify that I would apply the same encryption process to all other forms &amp; they may or may not post to PayPal. So keeping this in view, it would help to know an encryption routine in general &amp; not just in specific to Paypal. Any ideas?</p>