SHA * algorithms are not suitable for hash passwords because they are too fast and therefore can be too rough. Instead, you should use a slow algorithm such as BCrypt or PBKDF2 with a cost factor that controls the time needed.
PHP BCrypt password_hash(). PHP.
$hashToStoreInDb = password_hash($password, PASSWORD_BCRYPT);
$isPasswordCorrect = password_verify($password, $existingHashFromDb);
, , .
, . 60- -. password_verify() . .