title: How to use SHA1 encryption instead of BCrypt in Laravel 4?
body: <p>I'm developing a so called AAC (Automatic Account Creator) for a game, it's basically a site with functions to create accounts, players and several more things for players.  The server only supports SHA1 and plain - which is totally unsafe. I can't dive into the source code and make changes. If there's anyway to use SHA1 I would be grateful. I just read about BCrypt, it's great but I can't really change the source code to suit BCrypt. I managed to put SHA1 on registration like this:</p>
  
  <pre><code>$password = $input['password'];
  $password = sha1($password);
  </code></pre>
  
  <p>But I simply can't login. am I doing it wrong? seems like Laravel won't let me login.</p>
  
  <p>I've got <code>get_register</code> and <code>post_register</code>, also I've got <code>get_login</code> and <code>post_login</code>. Do i need to change something in the post_login to make it login or?
  any hints?</p>
  
  <p>I'm using Laravel's php server (php artisan serve) and phpMyAdmin on WAMP. I think Laravel checks when you are checking the DB via the <code>Auth::attempt</code> method laravel is doing some form of hashing to check the current pw and the logged in one to check against each other.</p>