How to decrypt password in laravel
<pre><code>$user = User::where('email',$request['email'],'password', Crypt::decrypt($request['password']))-&gt;first();
</code></pre>

<p>How do I decrypt a password in laravel?</p>

<p>This is the error that I'm getting:</p>

<blockquote>
  <p>DecryptException in Encrypter.php line 144: The payload is invalid.</p>
</blockquote>