sodium_crypto_pwhash_str

Supported Versions: PHP 7 >= 7.2.0, PHP 8
Get an ASCII-encoded hash
<?php sodium_crypto_pwhash_str(string $password, int $opslimit, int $memlimit): string