Str.php
public static function verify($real, $hash)
    {
        $hash   =   base64_decode($hash);
        return      crypt($real, $hash) == $hash;
    }
public static function verify($real, $hash)
    {
        $hash   =   base64_decode($hash);
        return      crypt($real, $hash) == $hash;
    }
Checks whether a crypted hash is valid

@uses    crypt()
@param   string $real    the real string
@param   string $hash    the hashed string
@return  bool