title: Laravel Class 'HASH' not found
body: <p>after validate rules i want to check current enterd password width saved hash password on database.and i'm using this below code, but i get error :</p>
  
  <p>Error Code: </p>
  
  <pre><code>Symfony \ Component \ Debug \ Exception \ FatalErrorException
  
  Class 'HASH' not found
  </code></pre>
  
  <p>my Controller Action: </p>
  
  <pre><code>public function update($id)
  {
      $rules = array(
          'name'       =&gt; 'required|alpha',
          'family'     =&gt; 'required',
          'email'      =&gt; 'required',
          'password'   =&gt; 'required|confirmed',
          'password_confirmation'=&gt;'required',
      );
  
      $validator = Validator::make(Input::all(), $rules);
  
      if ($validator-&gt;fails()) {
          return Redirect::to('/admin/profile')
              -&gt;withErrors($validator)
              -&gt;withInput();
      } 
      else 
      {
          $currentPassword = User::find($id);
          if ( $currentPassword == HASH::make(Input::get('currpassword')) ){
              return Redirect::route('/admin/profile')
                  -&gt;with('message', 'Password Match Error')
                  -&gt;withInput();
          }
  
      }
  }
  </code></pre>