code: public static function verify($real, $hash)
      {
          $hash   =   base64_decode($hash);
          return      crypt($real, $hash) == $hash;
      }
docs: Checks whether a crypted hash is valid
  
  @uses    crypt()
  @param   string $real    the real string
  @param   string $hash    the hashed string
  @return  bool