title: How to change SHA1 and SALT encrypted passwords in table
body: <p>I have table in mysql which contain fields id, username, password and salt:</p>
  
  <p><em>Example:</em></p>
  
  <p><strong>id</strong> :       1</p>
  
  <p><strong>username</strong> : admin  </p>
  
  <p><strong>password</strong> : 11ca8949f9462890f2535c9a43ac52b8c10a9342 </p>
  
  <p><strong>salt</strong> :     8d17f0de29daed0f3b4cd38f980683d01ec50729</p>
  
  <p>There are no. of records like this.</p>
  
  <p>My question is : How can I change the passwords of all the users in that table.</p>
  
  <p>I want to create a new password for each user. Which means I need a new SHA1 hash and salt. How can I do this.</p>
  
  <p>Thanks</p>