title: How to decrypt hashed password using php?
body: <p>I'm currently using MD5 and SHA1 to save my users' passwords in a database but I don't know how to get them back in plain text. I tried to roll back same code I used to encrypt passwords but it gives me an error.</p>
  
  <p>Code I'm using to encrypt passwords:</p>
  
  <pre><code>   $hashedpassword = md5(md5(sha1(sha1(md5($normalpassword)))));
  </code></pre>
  
  <p>I tried to do the same thing back like this </p>
  
  <pre><code>   $normalpassword = md5(md5(sha1(sha1(md5($hashedpassword)))));
  </code></pre>
  
  <p>Then I realized it's something funny :( !! Please help me...</p>