Change record status: 
Project: 
Introduced in branch: 
8.0.x
Introduced in version: 
8.0.0-rc3
Description: 

Use Crypt::hashEquals() for comparing hash/token values instead of using === operator that can cause cause incorrect results or timing attacks.

Usage:

Crypt::hashEquals($hash_1, $hash_2);
Crypt::hashEquals($hash, user_pass_rehash($user, $timestamp));

Crypt::hashEquals() returns TRUE when the two strings are equal, FALSE otherwise.

Impacts: 
Module developers