title: Laravel 5: using bcrypt on same string gives different values
body: <p>I am using Laravel's <code>bcrypt</code> function for hashing passwords. When I do,</p>
  
  <pre><code>bcrypt('secret')
  </code></pre>
  
  <p>I get</p>
  
  <pre><code>=&gt; "$2y$10$mnPgYt2xm9pxb/c2I.SH.uuhgrOj4WajDQTJYssUbTjmPOcgQybcu"
  </code></pre>
  
  <p>But if I run it again, I get</p>
  
  <pre><code>=&gt; "$2y$10$J8h.Xmf6muivJ4bDweUlcu/BaNzI2wlBiAcop30PbPoKa0kDaf9xi"
  </code></pre>
  
  <p>and so on...</p>
  
  <p>So, won't the password matching process fail if I get different values every time?</p>