title: retrieving a sha1 encrypted password..
body: <p>I don't think that my title is appropriate for my question.
  My question is I have a simle login system just for test purposes, and I am using sha1 in encrypting my password into my database. which would look like this </p>
  
  <pre><code>sha1($_POST['..some_variable...'])
  </code></pre>
  
  <p>What would be the best way to retrieve my encrypted password as plain text for authentication purposes.
  Like select my username and password from my database.</p>