protected boolean hashEquals(final String a, final String b) {
        if (a == null || b == null) {
            return false;
        }
        return a.hashCode() == b.hashCode();
    }
<p>hashEquals.</p>

@param a a {@link String} object
@param b a {@link String} object
@return a boolean
pac4j-core/src/main/java/org/pac4j/core/authorization/authorizer/CsrfAuthorizer.java