title: Hash a password with SHA1 in java
body: <p>I want to insert a password to my database using SHA1 hash 
  I do it manually in phpmyadmin by choosing the function sha1 but how to do this using Java ??</p>
  
  <p>Any Idea ? Thank you!</p>