title: CakePHP BlowfishPasswordHasher Invalid Cipher because of salt?
body: <p>I'm trying to perform the simple authentication tutorial on the cakephp site but I'm getting the "Invalid Salt" message when I try to log a user in.</p>
  
  <ul>
  <li>The passwords are being encrypted and inserted into the database</li>
  <li>The database column is long enough to hold the whole string</li>
  </ul>
  
  <p>In CORE\Utility\Security.php _crypt it checks that my salt begins with "$2y$", "$2x$", or "$2a$" but they <strong>do not</strong>. I'm encrypting them with </p>
  
  <pre><code>if (isset($this-&gt;data[$this-&gt;alias]['password'])) {
          $passwordHasher = new BlowfishPasswordHasher();
          $this-&gt;data[$this-&gt;alias]['password'] = $passwordHasher-&gt;hash(
              $this-&gt;data[$this-&gt;alias]['password']
          );
      }
  </code></pre>
  
  <p>Can anyone tell me why my salts are invalid? I don't understand why they don't start with the expected strings? </p>