title: PHP MySQL User Password Encryption
body: <p>I am using following way to encrypt user's passwords which is AES Encryption. I just want to know is this a good practice or is there any other method should I follow. Because someone made me confused saying "Why don't you use "SALT". Can I use SALT AES Encryption? with Bellow is a sample query I am using.</p>
  
  <pre><code>INSERT INTO user(id,passowrd) VALUES (1,AES_ENCRYPT('mypassword','key'));
  </code></pre>