protected PhpassHashedPassword::crypt($algo, $password, $setting)
Hash a password using a secure stretched hash.
By using a salt and repeated hashing the password is "stretched". Its security is increased because it becomes much more computationally costly for an attacker to try to break the hash by brute-force computation of the hashes of a large number of plain-text words or strings to find a match.
Parameters
string $algo: The string name of a hashing algorithm usable by hash(), like 'sha25