title: SHA512 vs. Blowfish and Bcrypt
body: <p>I'm looking at hashing algorithms, but couldn't find an answer. </p>
  
  <ul>
  <li>Bcrypt uses Blowfish</li>
  <li>Blowfish is better than MD5</li>
  <li>Q: but is Blowfish better than SHA512? </li>
  </ul>
  
  <p>Thanks.. </p>
  
  <p><strong>Update:</strong></p>
  
  <p>I want to clarify that I understand the difference between hashing and encryption. What prompted me to ask the question this way is <a href="https://www.nccgroup.trust/us/about-us/newsroom-and-events/blog/2007/july/enough-with-the-rainbow-tables-what-you-need-to-know-about-secure-password-schemes/" rel="noreferrer">this article</a>, <strong>where the author refers to bcrypt as "adaptive hashing"</strong></p>
  
  <p>Since bcrypt is based on Blowfish, I was led to think that Blowfish is a hashing algorithm. If it's encryption as answers have pointed out, then seems to me like it shouldn't have a place in this article. What's worse is that he's concluding that bcrypt is the best. 
  What's also confusing me now is that the phpass class (used for password hashing I believe) uses bcrypt (i.e. blowfish, i.e. encryption). Based on this new info you guys are telling me (blowfish is encryption), this class sounds wrong. Am I missing something? </p>