title: Javascript Encrypt Form before sending with AES
body: <p>I'm trying to build a Diary system, with local En/Decryption so that the entries can only be read by the user with the password, which is not stored on the server.
  The Crypto should be done with Javascript(CryptoJS), but I have to manipulate the data of a HTML-form, before it's send.
  If it's possible, this should be done without JQuery, because of performance and bandwidth.
  Bacause I'm relatively new to java script, I don't know, how to manipulate the  data of the form, when the submit button was clicked ? :)</p>
  
  <pre><code>var encrypted = CryptoJS.AES.encrypt("Message", "Secret Passphrase");
  </code></pre>