title: How to get a password encrypted since the Java Script file in my web application?
body: <p>I'm designing some code for a standard login in a web application, I consider that doing the <strong>password encryption</strong> on <strong>client side</strong> is better than making mongo server doing it.</p>
  
  <p>So, if I have this code ...</p>
  
  <pre><code>$("#btnSignUp").click( function () {
  
          var sign = {
  
              user:$("#signUser").val(),
              pass:$("#signPass").val()
          };
  
      });
  </code></pre>
  
  <p>And then I'd do a <strong>post</strong> of <code>sign</code> with the password value already encrypted, how could I achieve this? Does JavaScript support AES?</p>