sodium_crypto_pwhash

Supported Versions: PHP 7 >= 7.2.0, PHP 8
Derive a key from a password, using Argon2
<?php sodium_crypto_pwhash(    int $length,    string $password,    string $salt,    int $opslimit,    int $memlimit,    int $algo = SODIUM_CRYPTO_PWHASH_ALG_DEFAULT): string